diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-06-16 01:03:36 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-06-16 01:03:36 +0800 |
commit | 167996b63e403e8782b029b40b7e502e7d99ee60 (patch) | |
tree | b3c8566ba8dfa6e3cb44e7900d2437bb4c68fd14 /graphics | |
parent | c83ec829c2cebcb7da615ba62f067c74a240fb4e (diff) | |
download | freebsd-ports-gnome-167996b63e403e8782b029b40b7e502e7d99ee60.tar.gz freebsd-ports-gnome-167996b63e403e8782b029b40b7e502e7d99ee60.tar.zst freebsd-ports-gnome-167996b63e403e8782b029b40b7e502e7d99ee60.zip |
- use OPTIONS_DEFINE
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cenon/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/cenon/Makefile b/graphics/cenon/Makefile index 0f58de812ab4..3e175304a338 100644 --- a/graphics/cenon/Makefile +++ b/graphics/cenon/Makefile @@ -28,11 +28,12 @@ MAINVERSION= 3.9.5 FULLVERSION= 3.9.4 CENON_LIB_DIR= ${GNUSTEP_LOCAL_ROOT}/Library/Cenon -OPTIONS= FULL_LIBRARY "Install complete Cenon Library" off +OPTIONS_DEFINE= FULL_LIBRARY +FULL_LIBRARY_DESC= Install complete Cenon Library -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_FULL_LIBRARY) || make(makesum) || defined(FETCH_ALL) +.if ${PORT_OPTIONS:MFULL_LIBRARY} || make(makesum) || defined(FETCH_ALL) DISTFILES+= CenonLibrary-${FULLVERSION}-1${EXTRACT_SUFX} PLIST_SUB+= FULL="" PLIST_SUB+= LITE="@comment " @@ -47,7 +48,7 @@ post-extract: @${FIND} ${WRKSRC}/Library -name COPYING -delete post-install: -.if defined(WITH_FULL_LIBRARY) +.if ${PORT_OPTIONS:MFULL_LIBRARY} ${TAR} xyvf ${_DISTDIR}/CenonLibrary-${FULLVERSION}-1${EXTRACT_SUFX} \ -C ${GNUSTEP_LOCAL_ROOT}/Library/ --exclude COPYING @${CHOWN} -R root:wheel ${CENON_LIB_DIR} @@ -58,4 +59,4 @@ post-install: .endif ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${CENON_LIB_DIR}/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> |