1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 0.3

This commit is contained in:
Andrew Pantyukhin 2008-01-01 14:25:42 +00:00
parent 5abe0d5aa8
commit 810161a3c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204797
3 changed files with 11 additions and 15 deletions

View File

@ -6,29 +6,23 @@
#
PORTNAME= unpaper
DISTVERSION= 0_2
PORTVERSION= 0.3
CATEGORIES= graphics
MASTER_SITES= CENKES BERLIOS
EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Post-processing tool for scanned sheets of paper
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|doc/||g' ${WRKSRC}/unpaper.html
do-build:
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/src/${PORTNAME}.c -lm
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/src/${PORTNAME}.c -lm
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/unpaper.html ${WRKSRC}/readme.txt ${DOCSDIR}/
@${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} CHANGELOG README ${DOCSDIR}/
@cd ${WRKSRC}/doc/&&${COPYTREE_SHARE} . ${DOCSDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (unpaper-0_2.tgz) = 6e8abf05013488370ccbdc91b2239670
SHA256 (unpaper-0_2.tgz) = c4cf8857fab7af9cdd467e83bfb29bc6a0bb8baa7e7b9d5fb00824c6e7b100a1
SIZE (unpaper-0_2.tgz) = 639252
MD5 (unpaper-0.3.tar.gz) = be41eaf8556e7df39ab53939c99c4f7b
SHA256 (unpaper-0.3.tar.gz) = 3433664040942bf7638946e2327e5c64119c600fde8ace918f47109fafbde5be
SIZE (unpaper-0.3.tar.gz) = 546488

View File

@ -1,3 +1,6 @@
bin/unpaper
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/img/_after.png
%%PORTDOCS%%%%DOCSDIR%%/img/_arrow.png
%%PORTDOCS%%%%DOCSDIR%%/img/_before.png
@ -28,7 +31,6 @@
%%PORTDOCS%%%%DOCSDIR%%/img/style.css
%%PORTDOCS%%%%DOCSDIR%%/img/x-click-but04.gif
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%%%DOCSDIR%%/unpaper.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/img
%%PORTDOCS%%@dirrm %%DOCSDIR%%