diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-20 15:41:46 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-05-20 15:41:46 +0000 |
commit | 08cd6baaf3d5107144ccb710460f36b310418b78 (patch) | |
tree | 012c3099b8bb1f3eb8f810f6e0f0a50d70870743 /devel/libslang2 | |
parent | 392acb41cfb2f34eddf18b52a242cec0ad8687ca (diff) | |
download | ports-08cd6baaf3d5107144ccb710460f36b310418b78.tar.gz ports-08cd6baaf3d5107144ccb710460f36b310418b78.zip |
OPTIONS'ify.
PR: 81310
Submitted by: Renato Botelho (maintainer)
Notes
Notes:
svn path=/head/; revision=135714
Diffstat (limited to 'devel/libslang2')
-rw-r--r-- | devel/libslang2/Makefile | 7 |
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 |