aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-01 19:46:09 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-01 19:46:09 +0000
commit7d324f5e63328fba559c51dc9e2d872171e47c54 (patch)
tree412d696f0df39c92ac996167039b809ee2aa7527 /devel
parent1766b072faaf61ab98aa35d46d7fe53ab27093b6 (diff)
downloadports-7d324f5e63328fba559c51dc9e2d872171e47c54.tar.gz
ports-7d324f5e63328fba559c51dc9e2d872171e47c54.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/aifad/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/devel/aifad/Makefile b/devel/aifad/Makefile
index 385469d77f88..d94ad1b4aeb9 100644
--- a/devel/aifad/Makefile
+++ b/devel/aifad/Makefile
@@ -15,30 +15,26 @@ BUILD_DEPENDS= menhir:${PORTSDIR}/devel/menhir \
ocaml-cfg>0:${PORTSDIR}/devel/ocaml-cfg \
ocaml-pcre>0:${PORTSDIR}/devel/ocaml-pcre \
ocaml-res>0:${PORTSDIR}/devel/ocaml-res
-LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_OCAML= yes
NO_OCAML_RUNDEPENDS=yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix ${PREFIX}
+CONFIGURE_ARGS= --prefix ${STAGEDIR}${PREFIX}
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
-.endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- (cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR})
-.endif
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.txt CHANGES.txt README.md \
+ TODO.md ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>