aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/camediaplay
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-02-25 14:30:33 +0800
committerkevlo <kevlo@FreeBSD.org>2001-02-25 14:30:33 +0800
commit76b1e7d62026ccc6025c75599a49b63ef308d732 (patch)
tree49103d18724c100a75f8857bdfe05a09391adc6f /graphics/camediaplay
parent41d6ba588fad1a30efb39a3ef5c5dadfbf0a0ee3 (diff)
downloadfreebsd-ports-gnome-76b1e7d62026ccc6025c75599a49b63ef308d732.tar.gz
freebsd-ports-gnome-76b1e7d62026ccc6025c75599a49b63ef308d732.tar.zst
freebsd-ports-gnome-76b1e7d62026ccc6025c75599a49b63ef308d732.zip
- Update to the lastest version
- Support CFLAGS properly - HAS_CONFIGURE -> GNU_CONFIGURE - Support NOPORTDOCS - Fix distinfo PR: 25321 Submitted by: Ports Fury
Diffstat (limited to 'graphics/camediaplay')
-rw-r--r--graphics/camediaplay/Makefile28
-rw-r--r--graphics/camediaplay/distinfo2
-rw-r--r--graphics/camediaplay/pkg-message2
-rw-r--r--graphics/camediaplay/pkg-plist8
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