aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2006-12-09 23:34:09 +0800
committergabor <gabor@FreeBSD.org>2006-12-09 23:34:09 +0800
commit6a5c4e591e1f73ecb4fcf798c0af960f0f661b7e (patch)
treea1a936c3a94deb782ba3e5669c7b917ecbd2f56c
parent6acc0a514357b3769533f2b04d524bf9d97e60a2 (diff)
downloadfreebsd-ports-gnome-6a5c4e591e1f73ecb4fcf798c0af960f0f661b7e.tar.gz
freebsd-ports-gnome-6a5c4e591e1f73ecb4fcf798c0af960f0f661b7e.tar.zst
freebsd-ports-gnome-6a5c4e591e1f73ecb4fcf798c0af960f0f661b7e.zip
- Fix fetching
- Fix WWW - Eliminate pkg-plist Approved by: erwin (mentor)
-rw-r--r--print/cpp2latex/Makefile9
-rw-r--r--print/cpp2latex/pkg-descr2
-rw-r--r--print/cpp2latex/pkg-plist6
3 files changed, 6 insertions, 11 deletions
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
index 89eaef7eaad0..227be37bee6b 100644
--- a/print/cpp2latex/Makefile
+++ b/print/cpp2latex/Makefile
@@ -9,7 +9,7 @@
PORTNAME= cpp2latex
PORTVERSION= 2.3
CATEGORIES= print
-MASTER_SITES= http://roederberg.dyndns.org/~arnold/file_share/cpp2latex/
+MASTER_SITES= http://www.arnoldarts.de/drupal/files/downloads/cpp2latex/
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert C++ source to a file you can input in an LaTeX-document
@@ -17,7 +17,8 @@ COMMENT= Convert C++ source to a file you can input in an LaTeX-document
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/cpp2latex
+PORTDOCS= AUTHORS ChangeLog README TODO
post-patch:
@${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
@@ -25,9 +26,9 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for docfile in AUTHORS ChangeLog README TODO
+.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/print/cpp2latex/pkg-descr b/print/cpp2latex/pkg-descr
index 6ff33783c2c5..113dc0c712ad 100644
--- a/print/cpp2latex/pkg-descr
+++ b/print/cpp2latex/pkg-descr
@@ -1,3 +1,3 @@
Convert C++-programmlistings to a file you can input in an LaTeX-document
-WWW: http://roederberg.dyndns.org/~arnold/cpp2latex.php
+WWW: http://www.arnoldarts.de/drupal/?q=Cpp2LaTeX
diff --git a/print/cpp2latex/pkg-plist b/print/cpp2latex/pkg-plist
deleted file mode 100644
index 140262145f69..000000000000
--- a/print/cpp2latex/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/cpp2latex
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%