svn commit: r327356 - in head/ports-mgmt: . dialog4ports dialog4ports-static
Chris Rees
crees at FreeBSD.org
Sun Sep 15 19:03:57 UTC 2013
Author: crees
Date: Sun Sep 15 19:03:55 2013
New Revision: 327356
URL: http://svnweb.freebsd.org/changeset/ports/327356
Log:
dialog4ports -- a dialog for FreeBSD ports. This is a static version that
can be used in chroots, for example in Tinderbox.
PR: ports/182021
Submitted by: marcus
Reviewed by: portmgr (bdrewery)
Approved by: maintainer
Added:
head/ports-mgmt/dialog4ports-static/
head/ports-mgmt/dialog4ports-static/Makefile (contents, props changed)
head/ports-mgmt/dialog4ports-static/pkg-descr (contents, props changed)
Modified:
head/ports-mgmt/Makefile
head/ports-mgmt/dialog4ports/Makefile
Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile Sun Sep 15 19:03:03 2013 (r327355)
+++ head/ports-mgmt/Makefile Sun Sep 15 19:03:55 2013 (r327356)
@@ -8,6 +8,7 @@
SUBDIR += bxpkg
SUBDIR += chucky
SUBDIR += dialog4ports
+ SUBDIR += dialog4ports-static
SUBDIR += distilator
SUBDIR += fastest_sites
SUBDIR += fbsdmon
Added: head/ports-mgmt/dialog4ports-static/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/dialog4ports-static/Makefile Sun Sep 15 19:03:55 2013 (r327356)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -static
+
+COMMENT= Console Interface to configure ports (static version for chroots)
+
+MASTERDIR= ${.CURDIR}/../dialog4ports
+DESCR= ${.CURDIR}/pkg-descr
+MAKE_ENV+= NO_SHARED=yes
+D4P_SLAVE= yes
+
+PLIST_FILES= bin/dialog4ports-static
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dialog4ports \
+ ${PREFIX}/bin/dialog4ports-static
+
+.include "${MASTERDIR}/Makefile"
Added: head/ports-mgmt/dialog4ports-static/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/dialog4ports-static/pkg-descr Sun Sep 15 19:03:55 2013 (r327356)
@@ -0,0 +1,4 @@
+dialog4ports -- a dialog for FreeBSD ports. This is a static version that
+can be used in chroots, for example in Tinderbox.
+
+WWW: https://bitbucket.org/m1cro/d4p/
Modified: head/ports-mgmt/dialog4ports/Makefile
==============================================================================
--- head/ports-mgmt/dialog4ports/Makefile Sun Sep 15 19:03:03 2013 (r327355)
+++ head/ports-mgmt/dialog4ports/Makefile Sun Sep 15 19:03:55 2013 (r327356)
@@ -3,7 +3,7 @@
PORTNAME= dialog4ports
PORTVERSION= 0.1.5
-PORTREVISION= 1
+PORTREVISION?= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://m1cro.tk/dialog4ports/ \
http://files.etoilebsd.net/dialog4ports/ \
@@ -14,17 +14,18 @@ MASTER_SITES= http://m1cro.tk/dialog4por
http://mirror.shatow.net/freebsd/${PORTNAME}/:dialog
MAINTAINER= rum1cro at yandex.ru
-COMMENT= Console Interface to configure ports
+COMMENT?= Console Interface to configure ports
# CCACHE has options, so may need d4p, make d4p not ccache friendly
# to avoid circular dependency
NO_CCACHE= yes
MANCOMPRESSED= yes
-MAN1= ${PORTNAME}.1
MAKE_ENV+= __MAKE_CONF=/dev/null SRCCONF=/dev/null
+.if !defined(D4P_SLAVE)
+MAN1= ${PORTNAME}.1
PLIST_FILES= bin/dialog4ports
-
+.endif
.include <bsd.port.pre.mk>
@@ -36,7 +37,7 @@ MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}"
DIALOG4PORTS= ${WRKSRC}/dialog4ports
.endif
-.if ${OSVERSION} < 900030
+.if ${OSVERSION} < 900030 || defined(D4P_SLAVE)
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
${DIALOGNAME}.tgz:dialog
DIALOGNAME= dialog-1.1-20120706
More information about the svn-ports-all
mailing list