mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Support staging
- Simplify MASTER_SITES - Remove indefinite article from COMMENT - USES_BZIP2 -> USE=tar:bzip2 Approved by: portmgr (blanket approval)
This commit is contained in:
parent
d9316b1ee1
commit
62eae3dbd3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359033
@ -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}"' \
|
||||
|
15
ports-mgmt/mkreadmes/files/patch-Makefile
Normal file
15
ports-mgmt/mkreadmes/files/patch-Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user