06f79b66f2
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
35 lines
859 B
Makefile
35 lines
859 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= encore
|
|
PORTVERSION= 0.3.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel gnustep
|
|
MASTER_SITES= SF/fortytwo/Encore/${PORTVERSION}
|
|
PKGNAMEPREFIX= fortytwo-
|
|
DISTFILES= Encore-${PORTVERSION}-src.tgz \
|
|
Encore-${PORTVERSION}-api-ref.tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Utility classes for GNUstep
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gnustep
|
|
USE_GNUSTEP= back build
|
|
DEFAULT_LIBVERSION= 0.1
|
|
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
|
|
|
|
WRKSRC= ${WRKDIR}/Encore
|
|
DOCSDIR= ${GNUSTEP_PREFIX}/Local/Library/Documentation/Encore
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKDIR}/Encore-${PORTVERSION}-api-ref && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Frameworks/Encore.framework/Versions/0/libEncore.so
|
|
|
|
.include <bsd.port.mk>
|