aboutsummaryrefslogtreecommitdiff
path: root/textproc/c2html
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 11:57:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 11:57:13 +0000
commit5dd4ea2cab04a53916d2bcfd2cafa38c0186a8fe (patch)
treee14a90edc506e3e05e90c1a0c6b962115578a5c7 /textproc/c2html
parentedf41c0c16910b284f2fbfe8d97561828aa04ed2 (diff)
Notes
Diffstat (limited to 'textproc/c2html')
-rw-r--r--textproc/c2html/Makefile14
-rw-r--r--textproc/c2html/files/patch-Makefile.in (renamed from textproc/c2html/files/patch-aa)14
-rw-r--r--textproc/c2html/pkg-plist5
3 files changed, 15 insertions, 18 deletions
diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile
index 1cf40208888f..6d9cc738cdea 100644
--- a/textproc/c2html/Makefile
+++ b/textproc/c2html/Makefile
@@ -10,17 +10,17 @@ MASTER_SITE_SUBDIR= apps/www/converters
MAINTAINER= mkamm@gmx.net
COMMENT= C-language sources to HTML converter
+LICENSE= GPLv2
+
USE_AUTOTOOLS= autoconf213
-MAN1= c2html.1
+PLIST_FILES= bin/c2html man/man1/c2html.1.gz
+PORTDOCS= AUTHORS NEWS README
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in AUTHORS NEWS README
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/textproc/c2html/files/patch-aa b/textproc/c2html/files/patch-Makefile.in
index 64206583c854..d7e60beba7eb 100644
--- a/textproc/c2html/files/patch-aa
+++ b/textproc/c2html/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Sat Apr 15 17:16:25 2000
-+++ Makefile.in Sun Apr 23 15:53:23 2000
+--- ./Makefile.in.orig 2006-03-28 10:26:30.000000000 +0000
++++ ./Makefile.in 2014-01-26 10:48:24.000000000 +0000
@@ -27,7 +27,7 @@
# for gzip because otherwise the load on the web server
# grows without having big benefits.
@@ -25,10 +25,12 @@
-install: $(TARGET) install-doc
+install: $(TARGET)
@echo "Installing" $(TARGET) "to" $(bindir)
- -mkdir -p $(bindir)
- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
-+ -mkdir -p $(man1dir)
-+ $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(man1dir)/$(MANPAGE)
+- -mkdir -p $(bindir)
+- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET)
++ -mkdir -p $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
++ -mkdir -p $(DESTDIR)$(man1dir)
++ $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(DESTDIR)$(man1dir)/$(MANPAGE)
install-strip: $(TARGET) install-doc
@echo "Installing" $(TARGET) "to" $(bindir)
diff --git a/textproc/c2html/pkg-plist b/textproc/c2html/pkg-plist
deleted file mode 100644
index 3aee28244379..000000000000
--- a/textproc/c2html/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/c2html
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%