aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-10 16:07:10 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-10 16:07:10 +0800
commitc5496e2663ea801e66669a12a4a2729c963a644a (patch)
tree7fc30efa43c5f334ee3df17e9791c27e80c09503 /graphics
parenta0bb26d7ededff311d5ce4c7fec7a68cfa6fbb9d (diff)
downloadfreebsd-ports-gnome-c5496e2663ea801e66669a12a4a2729c963a644a.tar.gz
freebsd-ports-gnome-c5496e2663ea801e66669a12a4a2729c963a644a.tar.zst
freebsd-ports-gnome-c5496e2663ea801e66669a12a4a2729c963a644a.zip
1: Stagify.
2: USES=tar:bzip2. 3: add LICENSE.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/flphoto/Makefile46
-rw-r--r--graphics/flphoto/pkg-plist2
2 files changed, 21 insertions, 27 deletions
diff --git a/graphics/flphoto/Makefile b/graphics/flphoto/Makefile
index 992774ca7323..0d43bae96f29 100644
--- a/graphics/flphoto/Makefile
+++ b/graphics/flphoto/Makefile
@@ -11,44 +11,36 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Basic image management and display program
-LIB_DEPENDS= gphoto2:${PORTSDIR}/graphics/libgphoto2 \
- fltk:${PORTSDIR}/x11-toolkits/fltk \
- png15:${PORTSDIR}/graphics/png
+LICENSE= GPLv2
+
+LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2 \
+ libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
+ libpng15.so:${PORTSDIR}/graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_BZIP2= yes
+USES= tar:bzip2
USE_XORG= xinerama
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+BROKEN_powerpc= Does not install on powerpc
-MAN1= flphoto.1
-MAN5= album.5
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|@OPTIM@|-DHAVE_CONFIG_H|g' ${WRKSRC}/Makefile.in
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/flphoto ${PREFIX}/bin/flphoto
- ${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${MANPREFIX}/man/man1/flphoto.1
- ${INSTALL_MAN} ${WRKSRC}/doc/album.man ${MAN5PREFIX}/man/man5/album.5
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/flphoto ${STAGEDIR}${PREFIX}/bin/flphoto
+ ${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${STAGEDIR}${MANPREFIX}/man/man1/flphoto.1
+ ${INSTALL_MAN} ${WRKSRC}/doc/album.man ${STAGEDIR}${MAN5PREFIX}/man/man5/album.5
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
.for lang in de en_CA en_GB es fr it nl pt
- @${MKDIR} ${PREFIX}/share/locale/${lang}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}
${INSTALL_DATA} ${WRKSRC}/po/${lang}.po \
- ${PREFIX}/share/locale/${lang}/flphoto_${lang}
+ ${STAGEDIR}${PREFIX}/share/locale/${lang}/flphoto_${lang}
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not install on powerpc
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/flphoto/pkg-plist b/graphics/flphoto/pkg-plist
index 597bc8207898..3cc437baed76 100644
--- a/graphics/flphoto/pkg-plist
+++ b/graphics/flphoto/pkg-plist
@@ -1,4 +1,6 @@
bin/flphoto
+man/man1/flphoto.1.gz
+man/man5/album.5.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/about.html
%%PORTDOCS%%%%DOCSDIR%%/albums.html