diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-21 17:47:52 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-21 17:47:52 +0000 |
commit | e081d9b9ede78a2c05aaae34df25f8bb5ebd936f (patch) | |
tree | 319127a7ac77536c193069aa90ed4b279facdd72 /lang | |
parent | eca9032f4c423feb63e02b030bd1c0525f8fc8ad (diff) | |
download | ports-e081d9b9ede78a2c05aaae34df25f8bb5ebd936f.tar.gz ports-e081d9b9ede78a2c05aaae34df25f8bb5ebd936f.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/icon/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile index d245854723e1..539a06888db9 100644 --- a/lang/icon/Makefile +++ b/lang/icon/Makefile @@ -20,9 +20,11 @@ ICONDIR= ${PREFIX}/lib/${PORTNAME} BINS= icont iconx BINXS= colrbook colrpick fontpick palette vib wevents xgamma -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS X11 -.if defined(WITHOUT_X11) +.include <bsd.port.options.mk> + +.if empty(PORT_OPTIONS:MX11) CONFIG_CMD= Configure PLIST_SUB= WITHOUT_X11="@comment " .else @@ -60,7 +62,7 @@ do-install: @${LN} -sf ${ICONDIR}/bin/icont ${STAGEDIR}${PREFIX}/bin/icon @${MKDIR} ${STAGEDIR}${ICONDIR}/lib cd ${WRKSRC}/lib; ${INSTALL_DATA} *.* ${STAGEDIR}${ICONDIR}/lib -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} .for file in ${BINXS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${STAGEDIR}${ICONDIR}/bin/${file} .endfor |