f91acb8a75
Approved by: portmgr (blanket)
36 lines
875 B
Makefile
36 lines
875 B
Makefile
# Created by: Norio Suzuki <nosuzuki@e-mail.ne.jp>
|
|
|
|
PORTNAME= xzgv
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= m.ne@gmx.net
|
|
COMMENT= Image viewer with thumbnail-based file selector for X
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= gawk:lang/gawk
|
|
LIB_DEPENDS= libexif.so:graphics/libexif \
|
|
libfreetype.so:print/freetype2 \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
USES= cpe gmake gnome pkgconfig xorg
|
|
USE_GNOME= cairo gdkpixbuf2 gtk20
|
|
USE_XORG= x11
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lm
|
|
PLIST_FILES= bin/xzgv man/man1/xzgv.1.gz
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
|
|
s|^CFLAGS|#CFLAGS|g ; \
|
|
s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${STAGEDIR}${LOCALBASE}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|