aboutsummaryrefslogtreecommitdiff
path: root/devel/libslang2/Makefile
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-05-20 15:41:46 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-05-20 15:41:46 +0000
commit08cd6baaf3d5107144ccb710460f36b310418b78 (patch)
tree012c3099b8bb1f3eb8f810f6e0f0a50d70870743 /devel/libslang2/Makefile
parent392acb41cfb2f34eddf18b52a242cec0ad8687ca (diff)
downloadports-08cd6baaf3d5107144ccb710460f36b310418b78.tar.gz
ports-08cd6baaf3d5107144ccb710460f36b310418b78.zip
Notes
Diffstat (limited to 'devel/libslang2/Makefile')
-rw-r--r--devel/libslang2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile
index bd16700a725a..8974146b9315 100644
--- a/devel/libslang2/Makefile
+++ b/devel/libslang2/Makefile
@@ -28,10 +28,15 @@ INSTALL_TARGET= install install-elf
MAN1= slsh.1
DOCSDIR= ${PREFIX}/share/doc/slang
+OPTIONS= PCRE "Include pcre support" on \
+ PNG "Include png support" on
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_PCRE)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
PLIST_SUB+= PCRE=""
@@ -48,8 +53,6 @@ CONFIGURE_ARGS+= --disable-png
PLIST_SUB+= PNG="@comment "
.endif
-.include <bsd.port.pre.mk>
-
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's, install_docs,,g' ${WRKSRC}/src/Makefile.in