ports/81310: [MAINTAINER] devel/libslang2: OPTIONS'ify
Renato Botelho
freebsd at galle.com.br
Fri May 20 15:30:04 UTC 2005
>Number: 81310
>Category: ports
>Synopsis: [MAINTAINER] devel/libslang2: OPTIONS'ify
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri May 20 15:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 09:20:42 BRST 2005
>Description:
- OPTIONS'ify
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- libslang2-2.0.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libslang2/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 20 May 2005 12:07:50 -0000 1.2
+++ Makefile 20 May 2005 15:20:31 -0000
@@ -28,10 +28,15 @@
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 @@
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
--- libslang2-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list