ports/183290: [PATCH] archivers/freeze: fix StageDir

Takefu takefu at airport.fm
Fri Oct 25 03:50:00 UTC 2013


>Number:         183290
>Category:       ports
>Synopsis:       [PATCH] archivers/freeze: fix StageDir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 03:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
diff -ruN /usr/ports/archivers/freeze/Makefile ./Makefile
--- /usr/ports/archivers/freeze/Makefile	2013-09-20 22:11:20.000000000 +0900
+++ ./Makefile	2013-10-22 10:21:12.000000000 +0900
@@ -12,18 +12,21 @@
 MAINTAINER=	gabor at FreeBSD.org
 COMMENT=	Compression program - often used in QNX

-NO_STAGE=	yes
-GNU_CONFIGURE=	yes
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${STAGEDIR}${PREFIX}
 ALL_TARGET=	prog
 MAKE_ARGS+=	CFLAGS="${CFLAGS} -I. -DCOMPAT" CC="${CC}"
-MAN1=		freeze.1 melt.1 unfreeze.1 fcat.1 statist.1
-PLIST_FILES=	bin/fcat bin/freeze bin/melt bin/statist bin/unfreeze
+PLIST_FILES=	bin/fcat bin/freeze bin/melt bin/statist bin/unfreeze\
+		man/man1/freeze.1.gz man/man1/melt.1.gz man/man1/unfreeze.1.gz\
+		man/man1/fcat.1.gz man/man1/statist.1.gz
 PORTDOCS=	README

+.include <bsd.port.pre.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
 .endif

 .include <bsd.port.mk>
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list