svn commit: r347257 - in head/mail/nohtml: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Mar 6 15:13:32 UTC 2014
Author: ehaupt
Date: Thu Mar 6 15:13:31 2014
New Revision: 347257
URL: http://svnweb.freebsd.org/changeset/ports/347257
QAT: https://qat.redports.org/buildarchive/r347257/
Log:
Support staging
Added:
head/mail/nohtml/files/
head/mail/nohtml/files/patch-Makefile (contents, props changed)
Modified:
head/mail/nohtml/Makefile
head/mail/nohtml/pkg-plist
Modified: head/mail/nohtml/Makefile
==============================================================================
--- head/mail/nohtml/Makefile Thu Mar 6 15:11:59 2014 (r347256)
+++ head/mail/nohtml/Makefile Thu Mar 6 15:13:31 2014 (r347257)
@@ -11,16 +11,12 @@ COMMENT= Strip HTML attachments from ema
USE_PYTHON= yes
-MANCOMPRESSED= yes
-MAN1= nohtml.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in nohtml-license.txt nohtml.html nohtml.pdf nohtml.ps nohtml.txt
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Added: head/mail/nohtml/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/nohtml/files/patch-Makefile Thu Mar 6 15:13:31 2014 (r347257)
@@ -0,0 +1,10 @@
+--- Makefile.orig 2014-03-06 16:09:13.534356472 +0100
++++ Makefile 2014-03-06 16:09:37.863354792 +0100
+@@ -4,5 +4,5 @@
+ all: # Do nothing - this is a python script that needs no build
+
+ install:
+- ${BSD_INSTALL_SCRIPT} nohtml.py ${PREFIX}/bin
+- ${BSD_INSTALL_MAN} nohtml.1.gz ${PREFIX}/man/man1
++ ${BSD_INSTALL_SCRIPT} nohtml.py ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_MAN} nohtml.1.gz ${DESTDIR}${MANPREFIX}/man/man1
Modified: head/mail/nohtml/pkg-plist
==============================================================================
--- head/mail/nohtml/pkg-plist Thu Mar 6 15:11:59 2014 (r347256)
+++ head/mail/nohtml/pkg-plist Thu Mar 6 15:13:31 2014 (r347257)
@@ -1,4 +1,5 @@
bin/nohtml.py
+man/man1/nohtml.1.gz
%%PORTDOCS%%share/doc/nohtml/nohtml-license.txt
%%PORTDOCS%%share/doc/nohtml/nohtml.html
%%PORTDOCS%%share/doc/nohtml/nohtml.pdf
More information about the svn-ports-all
mailing list