Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 12:20:56 -0300 (BRST)
From:      Renato Botelho <freebsd@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81310: [MAINTAINER] devel/libslang2: OPTIONS'ify
Message-ID:  <200505201520.j4KFKukO061610@data.galle.com.br>
Resent-Message-ID: <200505201530.j4KFU2Jg060675@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505201520.j4KFKukO061610>