aboutsummaryrefslogtreecommitdiff
path: root/textproc/java2html
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-21 08:02:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-21 08:02:10 +0000
commit53429c6c684ca86ca19c8a6f9709bb9bcd52cf76 (patch)
tree528f7fe4f43a69d320cbadc8f8cbbf86f215e2d0 /textproc/java2html
parent357b950f4bddbe4a18a7abdf2a4d5fd1924d6acd (diff)
downloadports-53429c6c684ca86ca19c8a6f9709bb9bcd52cf76.tar.gz
ports-53429c6c684ca86ca19c8a6f9709bb9bcd52cf76.zip
Notes
Diffstat (limited to 'textproc/java2html')
-rw-r--r--textproc/java2html/Makefile14
-rw-r--r--textproc/java2html/files/patch-Makefile.in (renamed from textproc/java2html/files/patch-aa)15
-rw-r--r--textproc/java2html/pkg-plist5
3 files changed, 18 insertions, 16 deletions
diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile
index f54138ce0971..54204461b446 100644
--- a/textproc/java2html/Makefile
+++ b/textproc/java2html/Makefile
@@ -11,17 +11,15 @@ MASTER_SITE_SUBDIR= apps/www/converters
MAINTAINER= mkamm@gmx.net
COMMENT= Java sources to HTML converter
+LICENSE= GPLv2
+
USE_AUTOTOOLS= autoconf213
-NO_STAGE= yes
-MAN1= java2html.1
+PORTDOCS= AUTHORS NEWS README
+PLIST_FILES= bin/java2html man/man1/java2html.1.gz
-.if !defined(NOPORTDOCS)
post-install:
- ${MKDIR} ${DOCSDIR}
-.for file in AUTHORS NEWS README
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/textproc/java2html/files/patch-aa b/textproc/java2html/files/patch-Makefile.in
index 50826b93e8cb..196a2a78308b 100644
--- a/textproc/java2html/files/patch-aa
+++ b/textproc/java2html/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Sat Apr 15 17:16:30 2000
-+++ Makefile.in Sun Apr 23 15:46:41 2000
+--- ./Makefile.in.orig 2000-05-02 19:13:52.000000000 +0200
++++ ./Makefile.in 2014-01-21 08:57:35.000000000 +0100
@@ -27,7 +27,7 @@
# for gzip because otherwise the load on the web server
# grows without having big benefits.
@@ -9,7 +9,16 @@
# Dont change things beyond this line.
TARGET = @PROJECT_NAME@
-@@ -59,7 +59,7 @@
+@@ -52,14 +52,14 @@
+ INSTALL_DATA = @INSTALL_DATA@
+ prefix = @prefix@
+ exec_prefix = ${prefix}
+-bindir = @bindir@
++bindir = ${DESTDIR}@bindir@
+ mandir = @mandir@
+-man1dir = @mandir@/man1
++man1dir = ${DESTDIR}@mandir@/man1
+ srcdir = @srcdir@
docdir = @DOCDIR@
CPPFLAGS = @CPPFLAGS@
diff --git a/textproc/java2html/pkg-plist b/textproc/java2html/pkg-plist
deleted file mode 100644
index fcdb08a187db..000000000000
--- a/textproc/java2html/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/java2html
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%