mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
faaef9bc69
Approved by: bapt (mentor)
68 lines
3.0 KiB
Makefile
68 lines
3.0 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnustep-make
|
|
PORTVERSION= 2.6.6
|
|
CATEGORIES= devel gnustep
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
|
|
MASTER_SITE_SUBDIR= core
|
|
|
|
MAINTAINER= theraven@FreeBSD.org
|
|
COMMENT= GNUstep makefile package
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_GNUSTEP= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
|
|
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c"
|
|
CONFIGURE_ARGS+= --with-thread-lib=-pthread
|
|
CONFIGURE_ARGS+= --with-config-file=${GNUSTEP_PREFIX}/GNUstep.conf
|
|
CONFIGURE_ARGS+= --with-layout=gnustep
|
|
CONFIGURE_ARGS+= --enable-objc-nonfragile-abi --enable-native-objc-exceptions
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
GNU_CONFIGURE_PREFIX= ${GNUSTEP_PREFIX}
|
|
LIB_DEPENDS+= libobjc.so:${PORTSDIR}/lang/libobjc2
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${LN} -s Library/Makefiles ${STAGEDIR}${GNUSTEP_PREFIX}/System/
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Applications
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/ApplicationSupport
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Bundles
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/ColorPickers
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Colors
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/DocTemplates
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/info
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/man
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/Developer
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/User
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Fonts
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Frameworks
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Headers
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Images
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/KeyBindings
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Libraries/Java
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Libraries/Resources
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/PostScript
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Services
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Sounds
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Tools/Java
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Tools/Resources
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Applications
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/ApplicationSupport
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Bundles
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Documentation
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Frameworks
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Headers
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Libraries
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Preferences
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Services
|
|
-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Tools/Resources
|
|
|
|
.include <bsd.port.mk>
|