From 06f79b66f2eb028c4ab81977dcb1e010ef9cf946 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 9 Apr 2015 07:44:41 +0000 Subject: 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 --- graphics/fortytwo/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'graphics/fortytwo') diff --git a/graphics/fortytwo/Makefile b/graphics/fortytwo/Makefile index d1f094138a96..65d0d24f0fad 100644 --- a/graphics/fortytwo/Makefile +++ b/graphics/fortytwo/Makefile @@ -13,12 +13,11 @@ COMMENT= Graph management system for GNUstep LICENSE= LGPL21 -USE_GNUSTEP= yes -USE_GNUSTEP_BACK= yes -USE_GNUSTEP_BUILD= yes -USE_GNUSTEP_INSTALL= yes -USE_GNUSTEP_LOCAL_LIBS+= Encore:${ENCORE_PORT} -USE_GNUSTEP_LOCAL_LIBS+= BDB:${FORTYTWO_BDB_PORT} +USES= gnustep +USE_GNUSTEP= back build + +LIB_DEPENDS= libEncore.so:${PORTSDIR}/devel/fortytwo-encore \ + libBDB.so:${PORTSDIR}/databases/fortytwo-bdb DEFAULT_LIBVERSION= 0.1 USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} USE_BDB= 43+ @@ -26,8 +25,6 @@ USE_BDB= 43+ WRKSRC= ${WRKDIR}/FT-${PORTVERSION} DOCSDIR= ${GNUSTEP_PREFIX}/Local/Library/Documentation/FT -ENCORE_PORT?= devel/fortytwo-encore -FORTYTWO_BDB_PORT?= databases/fortytwo-bdb ADDITIONAL_OBJCFLAGS+= -I${BDB_INCLUDE_DIR} ADDITIONAL_LDFLAGS+= -L${BDB_LIB_DIR} -- cgit v1.2.3