ports/103036: n/a
Gabor Kovesdan
gabor at FreeBSD.org
Fri Sep 8 14:30:30 UTC 2006
>Number: 103036
>Category: ports
>Synopsis: n/a
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 08 14:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gabor Kovesdan
>Release: FreeBSD 6.1-RELEASE-p3 amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.t-hosting.hu 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Aug 19 11:08:15 CEST 2006 root at server.t-hosting.hu:/usr/src/sys/amd64/compile/FREEBSD amd64
>Description:
- Respect NOPORTDOCS
- use REINPLACE_CMD for making it respect CC instead of MAKE_ARGS
- Take maintainership
>How-To-Repeat:
>Fix:
--- nomarch.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/archivers/nomarch/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 31 Jul 2006 09:26:00 -0000 1.12
+++ Makefile 8 Sep 2006 14:25:10 -0000
@@ -12,17 +12,29 @@
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/compress
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= gkovesdan at 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>
--- nomarch.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list