diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-09-10 14:07:46 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-09-10 14:07:46 +0000 |
commit | 1673638efbf4179d363e2d0986950585d9b6df94 (patch) | |
tree | 304af1349e2b79552360e1a862a664a802198a20 /archivers/nomarch | |
parent | de3fa1901bf8a5f4734dcb1c56da79f831d9cacc (diff) | |
download | ports-1673638efbf4179d363e2d0986950585d9b6df94.tar.gz ports-1673638efbf4179d363e2d0986950585d9b6df94.zip |
- Respect NOPORTDOCS
- use REINPLACE_CMD for making it respect CC instead of MAKE_ARGS
- Take maintainership
PR: 103036
Submitted by: Gabor Kovesdan <gabor@FreeBSD.org>
Notes
Notes:
svn path=/head/; revision=172704
Diffstat (limited to 'archivers/nomarch')
-rw-r--r-- | archivers/nomarch/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile index 2d9762eeafc7..0507b66e4368 100644 --- a/archivers/nomarch/Makefile +++ b/archivers/nomarch/Makefile @@ -12,17 +12,29 @@ CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= utils/compress -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Extracts files from the old `.arc' archive format USE_GETOPT_LONG=yes -MAKE_ARGS= CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" MAN1= nomarch.1 PLIST_FILES= bin/nomarch +PORTDOCS= COPYING ChangeLog NEWS README TODO + +post-patch: + ${REINPLACE_CMD} -e 's|CC=|CC?=|' \ + -e 's|CFLAGS=|CFLAGS?=|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nomarch.1 ${MAN1PREFIX}/man/man1 +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + .include <bsd.port.mk> |