- Fix fetching

- Fix WWW
- Eliminate pkg-plist

Approved by:	erwin (mentor)
This commit is contained in:
Gabor Kovesdan 2006-12-09 15:34:09 +00:00
parent a45ece12c2
commit e764e76dc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179309
3 changed files with 6 additions and 11 deletions

View file

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

View file

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

View file

@ -1,6 +0,0 @@
bin/cpp2latex
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%