aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libslang2-devel
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-20 23:41:46 +0800
committernovel <novel@FreeBSD.org>2005-05-20 23:41:46 +0800
commit48bc3e11dcbe9dd25db96f56ac3ea00ed5b8233f (patch)
treeb14f934b346b9973f6bb15fb1f3c2fb32eb1b2ad /devel/libslang2-devel
parentb51d55afe1acc0b55cde0a62ef2bdf4413dc0414 (diff)
downloadfreebsd-ports-gnome-48bc3e11dcbe9dd25db96f56ac3ea00ed5b8233f.tar.gz
freebsd-ports-gnome-48bc3e11dcbe9dd25db96f56ac3ea00ed5b8233f.tar.zst
freebsd-ports-gnome-48bc3e11dcbe9dd25db96f56ac3ea00ed5b8233f.zip
OPTIONS'ify.
PR: 81310 Submitted by: Renato Botelho (maintainer)
Diffstat (limited to 'devel/libslang2-devel')
-rw-r--r--devel/libslang2-devel/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/libslang2-devel/Makefile b/devel/libslang2-devel/Makefile
index bd16700a725a..8974146b9315 100644
--- a/devel/libslang2-devel/Makefile
+++ b/devel/libslang2-devel/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