1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Switch to new test framework

- Don't uselessly install INSTALL file
- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-04-30 09:03:25 +00:00
parent a073a95fd9
commit 446721d6dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414341
3 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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;/'"