aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-11-21 01:32:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-11-21 01:32:19 +0800
commit335b8835361decb21da00cc2bf526d20c77ade94 (patch)
treebde7a38cd7e188fde035d62f96324cf25a1e4777 /x11-wm
parentf5927d22a9475f0d7a0b0e0ff5a16c124d3af102 (diff)
downloadfreebsd-ports-gnome-335b8835361decb21da00cc2bf526d20c77ade94.tar.gz
freebsd-ports-gnome-335b8835361decb21da00cc2bf526d20c77ade94.tar.zst
freebsd-ports-gnome-335b8835361decb21da00cc2bf526d20c77ade94.zip
- Cosmetic fixes, simplify docs handling and don't install license as documentation
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/jewel/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile
index 83a9e527780b..a6613116887c 100644
--- a/x11-wm/jewel/Makefile
+++ b/x11-wm/jewel/Makefile
@@ -13,11 +13,10 @@ COMMENT= Window manager based on aewm++
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-ALL_TARGET= all
-DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
-PORTDOCS= *
USES= compiler gmake
USE_XORG= x11 xext xpm
+ALL_TARGET= all
+PORTDOCS= Changelog Changelog.DLR Changelog.jewel INSTALL README
MAKE_ARGS= CFLAGS="${CXXFLAGS}"
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
@@ -27,7 +26,7 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
- ${REINPLACE_CMD} -i '' -e 's|g++|${CXX}|g; s|gcc|${CC}|g'
+ ${REINPLACE_CMD} -i '' -e 's|g++|${CXX}|g; s|gcc|${CC}|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jewel ${STAGEDIR}${PREFIX}/bin/jewel
@@ -39,7 +38,7 @@ do-install:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for ii in ${DOCS}
+.for ii in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor