ports/52502: [PATCH] devel/buildtool: install documentation
Sergei Kolobov
sergei at kolobov.com
Tue May 20 22:50:16 UTC 2003
>Number: 52502
>Category: ports
>Synopsis: [PATCH] devel/buildtool: install documentation
>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: Tue May 20 15:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-BETA FreeBSD 5.1-BETA #0: Wed May 7 18:28:22 MSD
>Description:
- Install some documentation
- Respect NOPORTDOCS
- Use HAS_CONFIGURE and CONFIGURE_ARGS instead of redefining
do-configure target
- Bump PORTREVISION
Port maintainer - jos at catnook.com - has been copied.
>How-To-Repeat:
>Fix:
--- buildtool-0.11_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/buildtool/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 2003/04/22 19:50:16 1.11
+++ Makefile 2003/05/20 22:39:54
@@ -7,6 +7,7 @@
PORTNAME= buildtool
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,10 +15,19 @@
MAINTAINER= jos at catnook.com
COMMENT= A set of portable software build utilities
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= -p ${PREFIX}
+.if defined(NOPORTDOCS)
+CONFIGURE_ARGS+= -n doc
+.endif
+
MAN1= buildtool.1
+DOCS= CHANGES PEOPLE README TODO
-do-configure:
- @cd ${WRKSRC} \
- && ./configure -p ${PREFIX}
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/buildtool/pkg-plist,v
retrieving revision 1.10
diff -u -r1.10 pkg-plist
--- pkg-plist 2003/04/22 19:50:16 1.10
+++ pkg-plist 2003/05/20 22:39:54
@@ -39,6 +39,11 @@
@dirrm share/buildtool-0/licenses
@dirrm share/buildtool-0/bt_config
@dirrm share/buildtool-0
- at unexec install-info --delete %D/info/buildtool.info %D/info/dir
-info/buildtool.info
- at exec install-info %D/info/buildtool.info %D/info/dir
+%%PORTDOCS%%@unexec install-info --delete %D/info/buildtool.info %D/info/dir
+%%PORTDOCS%%info/buildtool.info
+%%PORTDOCS%%@exec install-info %D/info/buildtool.info %D/info/dir
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/PEOPLE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- buildtool-0.11_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list