svn commit: r325170 - in head/devel/bglibs: . files
William Grzybowski
wg at FreeBSD.org
Wed Aug 21 23:07:34 UTC 2013
Author: wg
Date: Wed Aug 21 23:07:33 2013
New Revision: 325170
URL: http://svnweb.freebsd.org/changeset/ports/325170
Log:
devel/bglibs: perl is a run dependency only
- Set perl only as a run dependency [1]
- Trim Makefile header
- USES new perl5 framework
- NOPORTDOCS -> PORT_OPTIONS:MDOCS
PR: ports/177954
Submitted by: Uffe Jakobsen <uffe uffe.org>
Approved by: maintainer (timeout)
Modified:
head/devel/bglibs/Makefile
head/devel/bglibs/files/patch-Makefile
Modified: head/devel/bglibs/Makefile
==============================================================================
--- head/devel/bglibs/Makefile Wed Aug 21 22:58:24 2013 (r325169)
+++ head/devel/bglibs/Makefile Wed Aug 21 23:07:33 2013 (r325170)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: bglibs
-# Date created: 03 Mar 2003
-# Whom: Sergei Kolobov <sergei at kolobov.com>
-#
+# Created by: Sergei Kolobov <sergei at kolobov.com>
# $FreeBSD$
-#
PORTNAME= bglibs
PORTVERSION= 1.106
-PORTREVISION= 1
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/ \
@@ -20,7 +16,8 @@ LICENSE= LGPL21
NOT_FOR_ARCHS= alpha
-USE_PERL5= yes
+USES= perl5
+USE_PERL5= run
USE_AUTOTOOLS= libtool:env
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
@@ -29,6 +26,10 @@ USE_LDCONFIG= ${BGLIBS_LIB}
DOCS= NEWS README TODO doc/html/*
MAN1= cli-generate.1
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
@@ -41,7 +42,7 @@ do-configure:
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-include
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
Modified: head/devel/bglibs/files/patch-Makefile
==============================================================================
--- head/devel/bglibs/files/patch-Makefile Wed Aug 21 22:58:24 2013 (r325169)
+++ head/devel/bglibs/files/patch-Makefile Wed Aug 21 23:07:33 2013 (r325170)
@@ -9,3 +9,12 @@
base64/asc2bin.lo: libcompile base64/asc2bin.c base64/base64.h str/str.h
./libcompile base64/asc2bin.c
+@@ -877,7 +877,7 @@
+
+ perl-head.pl:
+ ( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \
+- perl=`which perl`; \
++ perl=`which perl` || perl="/usr/local/bin/perl"; \
+ echo "#! $$perl"; \
+ echo "# WARNING: This file was auto-generated. Do not edit!"; \
+ echo ) >perl-head.pl
More information about the svn-ports-all
mailing list