diff options
Diffstat (limited to 'graphics/camediaplay')
-rw-r--r-- | graphics/camediaplay/Makefile | 28 | ||||
-rw-r--r-- | graphics/camediaplay/distinfo | 2 | ||||
-rw-r--r-- | graphics/camediaplay/pkg-message | 2 | ||||
-rw-r--r-- | graphics/camediaplay/pkg-plist | 8 |
4 files changed, 21 insertions, 19 deletions
diff --git a/graphics/camediaplay/Makefile b/graphics/camediaplay/Makefile index c9bd8f0694ed..0e86fb9e511f 100644 --- a/graphics/camediaplay/Makefile +++ b/graphics/camediaplay/Makefile @@ -7,24 +7,28 @@ PORTNAME= camediaplay PORTVERSION= 20010211 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= ftp://ftp.itojun.org/pub/digi-cam/C-400L/unix/ \ +MASTER_SITES= ftp://ftp.itojun.org/pub/digi-cam/C-400L/unix/ \ ftp://ftp.digipri.co.jp/pub/free-software/Olympus/C-400L/unix/ -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/camediaplay/build -HAS_CONFIGURE= yes -MAN1= camediaplay.1 +WRKSRC= ${WRKDIR}/${PORTNAME}/build -DOC= README.english README.japanese PROTOCOL +GNU_CONFIGURE= yes +CONFIGURE_ENV= OPTFLAG="" +MAN1= camediaplay.1 + +post-patch: + @${PERL} -pi -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c post-install: - ${MKDIR} ${PREFIX}/share/doc/camediaplay - for i in ${DOC}; do \ - ${INSTALL_DATA} ${WRKSRC}/../$$i \ - ${PREFIX}/share/doc/camediaplay; \ - done - ${SED} -e 's@\/usr\/local@${PREFIX}@' < ${PKGMESSAGE} +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/camediaplay +.for file in PROTOCOL README.english README.japanese + ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/camediaplay +.endfor +.endif .include <bsd.port.mk> diff --git a/graphics/camediaplay/distinfo b/graphics/camediaplay/distinfo index 03af28853e0d..769de105b44f 100644 --- a/graphics/camediaplay/distinfo +++ b/graphics/camediaplay/distinfo @@ -1 +1 @@ -MD5 (camediaplay-19991202.tar.gz) = a91576e0d6f8ef604b69fe426ee238ce +MD5 (camediaplay-20010211.tar.gz) = 2736621e9f3f32e1efdaff04ba42d231 diff --git a/graphics/camediaplay/pkg-message b/graphics/camediaplay/pkg-message deleted file mode 100644 index 96214d837345..000000000000 --- a/graphics/camediaplay/pkg-message +++ /dev/null @@ -1,2 +0,0 @@ -camediaplay has been installed. -Documents can be found at: /usr/local/share/doc/camediaplay diff --git a/graphics/camediaplay/pkg-plist b/graphics/camediaplay/pkg-plist index ef673abc33a3..41445fcaae44 100644 --- a/graphics/camediaplay/pkg-plist +++ b/graphics/camediaplay/pkg-plist @@ -1,5 +1,5 @@ bin/camediaplay -share/doc/camediaplay/README.english -share/doc/camediaplay/README.japanese -share/doc/camediaplay/PROTOCOL -@dirrm share/doc/camediaplay +%%PORTDOCS%%share/doc/camediaplay/PROTOCOL +%%PORTDOCS%%share/doc/camediaplay/README.english +%%PORTDOCS%%share/doc/camediaplay/README.japanese +%%PORTDOCS%%@dirrm share/doc/camediaplay |