diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-24 03:56:37 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-24 03:56:37 +0000 |
commit | 62eae3dbd389c77fa3e235b5c4c62514cfc79ea2 (patch) | |
tree | 0423ac0af16c52e245b89969038d863aa54dbf42 /ports-mgmt | |
parent | d9316b1ee1e43948ef26ba626d11aa204b915cdc (diff) |
- Support staging
- Simplify MASTER_SITES
- Remove indefinite article from COMMENT
- USES_BZIP2 -> USE=tar:bzip2
Approved by: portmgr (blanket approval)
Notes
Notes:
svn path=/head/; revision=359033
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/mkreadmes/Makefile | 16 | ||||
-rw-r--r-- | ports-mgmt/mkreadmes/files/patch-Makefile | 15 |
2 files changed, 22 insertions, 9 deletions
diff --git a/ports-mgmt/mkreadmes/Makefile b/ports-mgmt/mkreadmes/Makefile index 38abd1c41599..d986ffdcf14a 100644 --- a/ports-mgmt/mkreadmes/Makefile +++ b/ports-mgmt/mkreadmes/Makefile @@ -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@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}"' \ diff --git a/ports-mgmt/mkreadmes/files/patch-Makefile b/ports-mgmt/mkreadmes/files/patch-Makefile new file mode 100644 index 000000000000..39a53be16c32 --- /dev/null +++ b/ports-mgmt/mkreadmes/files/patch-Makefile @@ -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 |