svn commit: r349309 - in head/net/mpd5: . files

Renato Botelho garga at FreeBSD.org
Thu Mar 27 00:30:35 UTC 2014


Author: garga
Date: Thu Mar 27 00:30:34 2014
New Revision: 349309
URL: http://svnweb.freebsd.org/changeset/ports/349309
QAT: https://qat.redports.org/buildarchive/r349309/

Log:
  Support STAGE
  
  Approved by:	portmgr (blanket)

Added:
  head/net/mpd5/files/patch-conf__Makefile   (contents, props changed)
  head/net/mpd5/files/patch-doc__Makefile   (contents, props changed)
  head/net/mpd5/files/patch-src__Makefile   (contents, props changed)
Modified:
  head/net/mpd5/Makefile

Modified: head/net/mpd5/Makefile
==============================================================================
--- head/net/mpd5/Makefile	Thu Mar 27 00:29:11 2014	(r349308)
+++ head/net/mpd5/Makefile	Thu Mar 27 00:30:34 2014	(r349309)
@@ -5,8 +5,8 @@ PORTNAME=	mpd
 DISTVERSION=	5.7
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
-DIST_SUBDIR=	mpd5
 PKGNAMESUFFIX=	5
+DIST_SUBDIR=	mpd5
 
 MAINTAINER=	mav at FreeBSD.org
 COMMENT=	Multi-link PPP daemon based on netgraph(4)
@@ -19,7 +19,6 @@ CONFIGURE_WRKSRC=	"${WRKSRC}/src"
 
 USE_OPENSSL=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNG_IPACCT}
@@ -31,7 +30,6 @@ RUN_DEPENDS+=	/boot/modules/ng_ipacct.ko
 .endif
 .endif
 
-MAN8=		mpd5.8
 MANCOMPRESSED=	maybe
 USE_RC_SUBR=	mpd5
 HTMLNUM!=	jot 70 1
@@ -40,6 +38,6 @@ DOCSDIR=	${PREFIX}/share/doc/mpd5
 PORTDOCS=	${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README	\
 		mpd_toc.html
 PLIST_DIRS=	etc/mpd5
-PLIST_FILES=	${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
+PLIST_FILES=	${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5 man/man8/mpd5.8.gz
 
 .include <bsd.port.mk>

Added: head/net/mpd5/files/patch-conf__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mpd5/files/patch-conf__Makefile	Thu Mar 27 00:30:34 2014	(r349309)
@@ -0,0 +1,12 @@
+--- conf/Makefile.orig	2014-03-26 03:33:58.000000000 -0300
++++ conf/Makefile	2014-03-26 03:34:12.000000000 -0300
+@@ -3,6 +3,9 @@
+ PREFIX?=	/usr/local
+ BINDIR?=	/etc/mpd5
+ 
++BINOWN!=	/usr/bin/id -n -u
++BINGRP!=	/usr/bin/id -n -g
++
+ MPD_SAMPLES+=	mpd.conf.sample
+ MPD_SAMPLES+=	mpd.secret.sample
+ MPD_SAMPLES+=	mpd.script.sample

Added: head/net/mpd5/files/patch-doc__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mpd5/files/patch-doc__Makefile	Thu Mar 27 00:30:34 2014	(r349309)
@@ -0,0 +1,26 @@
+--- doc/Makefile.orig	2013-06-11 06:00:00.000000000 -0300
++++ doc/Makefile	2014-03-26 03:39:06.000000000 -0300
+@@ -3,6 +3,11 @@
+ PREFIX?=	/usr/local
+ DOCDIR?=	${PREFIX}/share/doc/mpd5
+ 
++DOCOWN!=	/usr/bin/id -n -u
++DOCGRP!=	/usr/bin/id -n -g
++MANOWN=		${DOCOWN}
++MANGRP=		${DOCGRP}
++
+ MPD_DOC_FILES+=	../README
+ MPD_DOC_FILES+=	mpd*.html
+ MPD_DOC_FILES+=	mpd.ps
+@@ -22,9 +27,9 @@
+ 
+ .if !defined(NOPORTDOCS)
+ afterinstall:
+-	[ -d ${DOCDIR} ] || mkdir ${DOCDIR}
++	[ -d ${DESTDIR}${DOCDIR} ] || mkdir ${DESTDIR}${DOCDIR}
+ 	${INSTALL} -c -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
+-	    ${MPD_DOC_FILES} ${DOCDIR}
++	    ${MPD_DOC_FILES} ${DESTDIR}${DOCDIR}
+ .endif
+ 
+ .include <bsd.prog.mk>

Added: head/net/mpd5/files/patch-src__Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mpd5/files/patch-src__Makefile	Thu Mar 27 00:30:34 2014	(r349309)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2014-03-26 03:33:24.000000000 -0300
++++ src/Makefile	2014-03-26 03:33:44.000000000 -0300
+@@ -14,6 +14,8 @@
+ NOMAN=
+ NO_MAN=
+ 
++BINOWN!=		/usr/bin/id -n -u
++BINGRP!=		/usr/bin/id -n -g
+ 
+ # Default configuration directory
+ 


More information about the svn-ports-head mailing list