Update deskutils/horde-mnemo to version 4.1.3
[dports.git] / deskutils / gnustep-wrapper / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       wrapper
4 PORTVERSION=    0.1.0
5 PORTREVISION=   2
6 CATEGORIES=     deskutils gnustep
7 #MASTER_SITES=  ftp://ftp.raffael.ch/software/GNUstepWrapper/
8 MASTER_SITES=   ${MASTER_SITE_LOCAL}
9 MASTER_SITE_SUBDIR=     dinoex
10 PKGNAMEPREFIX=  gnustep-
11 DISTNAME=       GNUstepWrapper-${PORTVERSION}
12
13 MAINTAINER=     ports@FreeBSD.org
14 COMMENT=        Create GNUstep app-wrappers of non-GNUstep applications
15
16 LICENSE=        GPLv2
17
18 USE_GNUSTEP=    yes
19 USE_GNUSTEP_BACK=       yes
20 USE_GNUSTEP_BUILD=      yes
21 USE_GNUSTEP_INSTALL=    yes
22 USE_GNUSTEP_LDCONFIG=   ${GNUSTEP_SYSTEM_LIBRARIES}
23
24 ADDITIONAL_LIB_DIRS+=   -L${WRKSRC}/libGSWrapper/obj
25 MAKE_ENV+=      GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
26 MAKE_FLAGS+=    debug=no
27
28 post-patch:
29         ${REINPLACE_CMD} -e 's|cp -u|#cp -p|' \
30                 ${WRKSRC}/WrapperFactory/GNUmakefile.postamble
31         ${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
32                 ${WRKSRC}/GNUmakefile
33
34 post-install:
35         ${INSTALL_SCRIPT} ${WRKSRC}/Launcher/obj/GSWrapper_Launcher \
36                 ${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Applications/WrapperFactory.app/Resources/
37
38 .include <bsd.port.mk>