1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Switch to options helpers

- Simplify installation
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-02-22 10:17:42 +00:00
parent 5cf2b7440c
commit d09e174e1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409328
2 changed files with 13 additions and 13 deletions

View File

@ -18,17 +18,17 @@ GNU_CONFIGURE= yes
PORTDOCS= *
DOCFILES= AUTHORS BUGS COPYING ChangeLog NEWS README THANKS
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/*.html \
${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/Docs/*.html \
${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/Docs/*.html \
${STAGEDIR}${DOCSDIR}/html
for docfile in ${DOCFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$$docfile ${STAGEDIR}${DOCSDIR}/; \
done
.for f in AUTHORS BUGS ChangeLog NEWS README THANKS
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- ./Makefile.in.orig 2001-08-25 21:56:14.000000000 +0000
+++ ./Makefile.in 2014-01-28 15:44:55.000000000 +0000
--- Makefile.in.orig 2001-08-25 21:56:14 UTC
+++ Makefile.in
@@ -34,7 +34,7 @@
### install install htmlpty in system directories
### install-exe install only htmlpty executable
@ -45,7 +45,7 @@
MANDIR = $(prefix)/man
MANEXT = 1
@@ -217,7 +217,7 @@
@@ -217,7 +217,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
@ -54,7 +54,7 @@
LIBS = @LIBS@
VPATH = @srcdir@
@@ -743,32 +743,22 @@
@@ -743,32 +743,22 @@ htmlpty.zoo: htmlpty.tar
$(ZOO) v htmlpty-$(VERSION).zoo >htmlpty-$(VERSION).zoo-lst
$(LN) htmlpty-$(VERSION).zoo htmlpty.zoo
@ -94,7 +94,7 @@
install-ftp: htmlpty.tar htmlpty.zip htmlpty.zoo
$(TAR) tvf htmlpty-$(VERSION).tar >$(FTPDIR)/htmlpty-$(VERSION).tar-lst
@@ -827,14 +817,14 @@
@@ -827,14 +817,14 @@ table.o: table.c builtin.h default.h $(H
test-version:
@echo "Version number is ""'"$(VERSION)"'"