aboutsummaryrefslogtreecommitdiffstats
path: root/finance/libstocks
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-06-09 22:57:33 +0800
committerantoine <antoine@FreeBSD.org>2014-06-09 22:57:33 +0800
commit476be418374bfa5b6509f157e4a8b6b8044def1c (patch)
tree46298fa03dc806622a22a30a63d4991f76f6da50 /finance/libstocks
parent540fd3d223a67f9ad8a95d5ea19a617a12cc148e (diff)
downloadfreebsd-ports-gnome-476be418374bfa5b6509f157e4a8b6b8044def1c.tar.gz
freebsd-ports-gnome-476be418374bfa5b6509f157e4a8b6b8044def1c.tar.zst
freebsd-ports-gnome-476be418374bfa5b6509f157e4a8b6b8044def1c.zip
- Unbreak
- Convert to options
Diffstat (limited to 'finance/libstocks')
-rw-r--r--finance/libstocks/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/finance/libstocks/Makefile b/finance/libstocks/Makefile
index 0a3741180a6a..574408c925b9 100644
--- a/finance/libstocks/Makefile
+++ b/finance/libstocks/Makefile
@@ -15,6 +15,8 @@ MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
MAKE_ENV+= STAGEDIR="${STAGEDIR}"
USES= uidfix
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
-e 's/__UNIX__/__unix__/' \
@@ -27,10 +29,8 @@ do-build do-install:
-f ${FILESDIR}/Makefile.$d ${.TARGET:S/do-//}
.endfor
-.ifndef NOPORTDOCS
post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>