- Upodate to 1.3

- Add docs
While I'm here:
- use PORTDOCS macro

PR:                 60587
Submitted by:       Piotr Smyrak <piotr.smyrak@heron.pl> (maintainer)
Approved by:        erwin (mentor) (implicitly)
This commit is contained in:
Clement Laforet 2004-01-16 17:49:08 +00:00
parent ab7dad0611
commit eded9f5000
2 changed files with 12 additions and 2 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= potrace
PORTVERSION= 1.2
PORTVERSION= 1.3
CATEGORIES= graphics
MASTER_SITES= http://potrace.sourceforge.net/download/
@ -31,6 +31,8 @@ CONFIGURE_ARGS+= --disable-compress
CONFIGURE_ARGS+= --enable-metric
.endif
PORTDOCS= potrace.ps potrace.pdf
pre-everything::
@${ECHO} ""
@${ECHO} "You may define the following build options:"
@ -40,4 +42,12 @@ pre-everything::
@${ECHO} " A4 Enable use of A4 as the default papersize"
@${ECHO} ""
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}/potrace.${doc}
.endfor
.endif
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (potrace-1.2.tar.gz) = 8da9dc246770bae832610699beb27ec0
MD5 (potrace-1.3.tar.gz) = 726f1e063d3a131504aaf80e653ee053