From 53429c6c684ca86ca19c8a6f9709bb9bcd52cf76 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 21 Jan 2014 08:02:10 +0000 Subject: [PATCH] * Convert to staging * Add license * Rename patch to follow makepatch naming Sponsored by: Absolight --- textproc/java2html/Makefile | 14 ++++++-------- .../files/{patch-aa => patch-Makefile.in} | 15 ++++++++++++--- textproc/java2html/pkg-plist | 5 ----- 3 files changed, 18 insertions(+), 16 deletions(-) rename textproc/java2html/files/{patch-aa => patch-Makefile.in} (74%) delete mode 100644 textproc/java2html/pkg-plist 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 diff --git a/textproc/java2html/files/patch-aa b/textproc/java2html/files/patch-Makefile.in similarity index 74% rename from textproc/java2html/files/patch-aa rename to 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%%