aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-27 19:27:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-27 19:27:05 +0800
commita7858a8fdfda5507e524cd96293d9d36d5cc5aa5 (patch)
tree6bfb2af372b018cc9a5c258164457113d66ed49c /devel
parent2e97cf50dca0eac90fdfe5d59b8c34897d51894e (diff)
downloadfreebsd-ports-gnome-a7858a8fdfda5507e524cd96293d9d36d5cc5aa5.tar.gz
freebsd-ports-gnome-a7858a8fdfda5507e524cd96293d9d36d5cc5aa5.tar.zst
freebsd-ports-gnome-a7858a8fdfda5507e524cd96293d9d36d5cc5aa5.zip
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'devel')
-rw-r--r--devel/dotconf/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/dotconf/Makefile b/devel/dotconf/Makefile
index 79d725aa1cb6..6b71f173e429 100644
--- a/devel/dotconf/Makefile
+++ b/devel/dotconf/Makefile
@@ -11,21 +11,24 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple, powerful configuration-file parser
LICENSE= LGPL21
-
-OPTIONS_DEFINE= DOCS EXAMPLES
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= pathfix pkgconfig libtool
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in README argdouble caseinsensitive context duplicates errorhandler \
fallback libpool maketest.sh modules noinline simple