svn commit: r359033 - in head/ports-mgmt/mkreadmes: . files
Jason E. Hale
jhale at FreeBSD.org
Tue Jun 24 03:56:38 UTC 2014
Author: jhale
Date: Tue Jun 24 03:56:37 2014
New Revision: 359033
URL: http://svnweb.freebsd.org/changeset/ports/359033
QAT: https://qat.redports.org/buildarchive/r359033/
Log:
- Support staging
- Simplify MASTER_SITES
- Remove indefinite article from COMMENT
- USES_BZIP2 -> USE=tar:bzip2
Approved by: portmgr (blanket approval)
Added:
head/ports-mgmt/mkreadmes/files/
head/ports-mgmt/mkreadmes/files/patch-Makefile (contents, props changed)
Modified:
head/ports-mgmt/mkreadmes/Makefile
Modified: head/ports-mgmt/mkreadmes/Makefile
==============================================================================
--- head/ports-mgmt/mkreadmes/Makefile Tue Jun 24 03:53:43 2014 (r359032)
+++ head/ports-mgmt/mkreadmes/Makefile Tue Jun 24 03:56:37 2014 (r359033)
@@ -4,21 +4,19 @@
PORTNAME= mkreadmes
DISTVERSION= 1.3
CATEGORIES= ports-mgmt
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= conrads at cox.net
-COMMENT= A speedy substitute for "make readmes"
+COMMENT= Speedy substitute for "make readmes"
-USE_BZIP2= yes
-MAN1= mkreadmes.1
-MANCOMPRESSED= maybe
+USES= tar:bzip2
-PLIST_FILES= sbin/${PORTNAME}
+PLIST_FILES= man/man1/mkreadmes.1.gz sbin/${PORTNAME}
PORTDATA= *
-NO_STAGE= yes
-post-extract:
+post-patch:
+ ${REINPLACE_CMD} -e 's|-o root -g wheel||g' ${WRKSRC}/Makefile
+
# adjust definition of PREFIX in mkreadmes.h only if it differs from
# the current setting of ${PREFIX}
@${EGREP} -q '^#define[[:space:]]+PREFIX[[:space:]]+"${PREFIX}"' \
Added: head/ports-mgmt/mkreadmes/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/mkreadmes/files/patch-Makefile Tue Jun 24 03:56:37 2014 (r359033)
@@ -0,0 +1,15 @@
+--- ./Makefile.orig 2014-06-23 23:32:51.000000000 -0400
++++ ./Makefile 2014-06-23 23:34:59.000000000 -0400
+@@ -8,9 +8,9 @@
+ PROGRAM= mkreadmes
+ VERSION= 1.3
+ PREFIX?= /usr/local # allow user to override install prefix
+-BINDIR= ${PREFIX}/sbin
+-DATADIR= ${PREFIX}/share/${PROGRAM}
+-MANDIR= ${PREFIX}/man/man1
++BINDIR= ${DESTDIR}${PREFIX}/sbin
++DATADIR= ${DESTDIR}${PREFIX}/share/${PROGRAM}
++MANDIR= ${DESTDIR}${PREFIX}/man/man1
+ TEMPLATESDIR= ${DATADIR}/Templates
+ SRCS= index.c init.c main.c ${PROGRAM}.c util.c ${PROGRAM}.h
+ INCLUDES= /usr/include
More information about the svn-ports-all
mailing list