aboutsummaryrefslogtreecommitdiff
path: root/lang/bwbasic
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-31 19:33:48 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-31 19:33:48 +0000
commit599724f3bdfe534839e22eed22dd997d39362bdc (patch)
tree87c2bc48672c6b95f26bccae74772ccbe01344e3 /lang/bwbasic
parent87a2c9b1d24a5dcb854e4a9c94d1223008b4253c (diff)
downloadports-599724f3bdfe534839e22eed22dd997d39362bdc.tar.gz
ports-599724f3bdfe534839e22eed22dd997d39362bdc.zip
Notes
Diffstat (limited to 'lang/bwbasic')
-rw-r--r--lang/bwbasic/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile
index 7ae3bf6c6928..606082f15d12 100644
--- a/lang/bwbasic/Makefile
+++ b/lang/bwbasic/Makefile
@@ -20,18 +20,16 @@ PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} 's|bindir)|DESTDIR)$$(&|' ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/bwbtest; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>