aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-30 09:03:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-30 09:03:25 +0000
commit446721d6dd7773347609a78ed341c5f92efb410b (patch)
tree32b26fdde0745d53849442a0ad02915a2dab4d8b
parenta073a95fd9f2e25a53cc836e06c0d7642ffad8aa (diff)
downloadports-446721d6dd7773347609a78ed341c5f92efb410b.tar.gz
ports-446721d6dd7773347609a78ed341c5f92efb410b.zip
Notes
-rw-r--r--textproc/sgmls/Makefile12
-rw-r--r--textproc/sgmls/files/patch-Makefile4
-rw-r--r--textproc/sgmls/files/patch-configure6
3 files changed, 11 insertions, 11 deletions
diff --git a/textproc/sgmls/Makefile b/textproc/sgmls/Makefile
index 6338378fbca1..94cf96b82f1d 100644
--- a/textproc/sgmls/Makefile
+++ b/textproc/sgmls/Makefile
@@ -14,23 +14,23 @@ USES= tar:Z
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
INSTALL_TARGET= install install.man
+TEST_TARGET= test
PROGS= sgmls sgmlsasp rast
-PORTDOCS= ChangeLog INSTALL LICENSE NEWS README TODO
+PORTDOCS= ChangeLog LICENSE NEWS README TODO
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile
post-build:
.for file in ${PROGS}
- ${STRIP_CMD} ${WRKSRC}/${file}
+ @${STRIP_CMD} ${WRKSRC}/${file}
.endfor
- cd ${WRKSRC} && ${MAKE} test
-post-install:
- @-${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
diff --git a/textproc/sgmls/files/patch-Makefile b/textproc/sgmls/files/patch-Makefile
index 44922284b5b6..f3d1d4797de1 100644
--- a/textproc/sgmls/files/patch-Makefile
+++ b/textproc/sgmls/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 1994-04-26 04:25:12.000000000 +0800
-+++ Makefile 2014-06-11 20:24:14.438631971 +0800
+--- Makefile.orig 1994-04-25 20:25:12 UTC
++++ Makefile
@@ -15,7 +15,7 @@ MANDIR=$(PREFIX)/man/man$(MANEXT)
# Permissions mode to use for man pages.
MANMODE=444
diff --git a/textproc/sgmls/files/patch-configure b/textproc/sgmls/files/patch-configure
index 59ef8d6bfdf5..173908989772 100644
--- a/textproc/sgmls/files/patch-configure
+++ b/textproc/sgmls/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Fri Jun 2 19:18:37 2000
-+++ configure Fri Jun 2 19:18:50 2000
-@@ -605,7 +605,7 @@
+--- configure.orig 1993-02-03 11:07:58 UTC
++++ configure
+@@ -605,7 +605,7 @@ fi
edit="$edit -e 's/^typedef .*VOID;/typedef $void_ret VOID;/'"
edit="$edit -e 's/^typedef .*UNIV;/typedef ${void_star}UNIV;/'"