aboutsummaryrefslogtreecommitdiff
path: root/devel/chrpath
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2010-06-20 18:12:48 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2010-06-20 18:12:48 +0000
commit99070568e6f9d37ff72382afdef5d9285cd88078 (patch)
tree6fcb6ad6eba168e6bc5933dc29439d852074aae3 /devel/chrpath
parentd20d39161c548cd364d1aed1b47e36a5acaf9093 (diff)
downloadports-99070568e6f9d37ff72382afdef5d9285cd88078.tar.gz
ports-99070568e6f9d37ff72382afdef5d9285cd88078.zip
Fix pkg-plist.
Bump PORTREVISION. Feature safe: yes Spotted by: QAT via itetcu
Notes
Notes: svn path=/head/; revision=256767
Diffstat (limited to 'devel/chrpath')
-rw-r--r--devel/chrpath/Makefile15
-rw-r--r--devel/chrpath/files/patch-Makefile.in21
2 files changed, 32 insertions, 4 deletions
diff --git a/devel/chrpath/Makefile b/devel/chrpath/Makefile
index 19e261cbdbe3..9b9118fd75d6 100644
--- a/devel/chrpath/Makefile
+++ b/devel/chrpath/Makefile
@@ -7,6 +7,7 @@
PORTNAME= chrpath
PORTVERSION= 0.13
+PORTREVISION= 1
CATEGORIES= devel sysutils
MASTER_SITES= http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
@@ -17,7 +18,17 @@ GNU_CONFIGURE= yes
MAN1= chrpath.1
-PLIST_FILES= bin/chrpath
-PORTDOCS= *
+PLIST_FILES= bin/chrpath
+
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+. endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/chrpath/files/patch-Makefile.in b/devel/chrpath/files/patch-Makefile.in
index 0dfdaff3d120..f7d89f50c376 100644
--- a/devel/chrpath/files/patch-Makefile.in
+++ b/devel/chrpath/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2009-12-01 20:39:04.000000000 +0000
-+++ Makefile.in 2009-12-01 20:39:13.000000000 +0000
+--- Makefile.in.orig 2004-09-19 12:42:53.000000000 +0400
++++ Makefile.in 2010-06-20 12:55:59.000000000 +0400
@@ -66,7 +66,7 @@
SUBDIRS = testsuite deb
@@ -9,3 +9,20 @@
doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
+@@ -263,16 +263,6 @@
+
+ install-docDATA: $(doc_DATA)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(docdir)
+- @list='$(doc_DATA)'; for p in $$list; do \
+- if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \
+- else if test -f $$p; then \
+- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
+- fi; fi; \
+- done
+
+ uninstall-docDATA:
+ @$(NORMAL_UNINSTALL)