freebsd-ports/deskutils/preferences/Makefile
Baptiste Daroussin 06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
Simplify gnustep ports
Hook into the regular ports framework:
- LIB_DEPENDS for library dependencies
- Use regular USE_LDCONFIG

Reuse USES=objc (automatic)
USE_GNUSTEP is now a macro to set the dependencies and build feature needed.
Accepted arguments: back base build gui

Merge deskutils/preferencepanes into deskutils/systempreferences
2015-04-09 07:44:41 +00:00

31 lines
817 B
Makefile

# $FreeBSD$
PORTNAME= preferences
PORTVERSION= 1.2.0
PORTREVISION= 6
CATEGORIES= deskutils gnustep
MASTER_SITES= SF/prefsapp/prefsapp/${PORTVERSION}
DISTNAME= Preferences-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep workspace manager
LICENSE_COMB= multi
LICENSE= GPLv2 LGPL21
USES= tar:bzip2 gnustep
USE_GNUSTEP= back build
USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
DEAFULT_LIBVERSION= 1.1.1
MAKE_ENV+= GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
MODIFY= GNUmakefile.preamble PrefsModule/GNUmakefile.preamble \
Modules/Keyboard/GNUmakefile.preamble \
Modules/PrefsApp/GNUmakefile.preamble
post-patch:
${REINPLACE_CMD} 's, -Werror,,' ${MODIFY:S,^,${WRKSRC}/,}
${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
${WRKSRC}/GNUmakefile.preamble
.include <bsd.port.mk>