summaryrefslogtreecommitdiff
path: root/graphics/pqiv
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 20:57:13 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 20:57:13 +0000
commit78b3778238e58d201fefc8d14496783e90033183 (patch)
tree8fd9753e9d153f66fb948b89e77619eddf5b7aff /graphics/pqiv
parent- Update to version 2.5.0.0 (diff)
- Update to version 0.12
PR: ports/168602 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=298533
Diffstat (limited to 'graphics/pqiv')
-rw-r--r--graphics/pqiv/Makefile43
-rw-r--r--graphics/pqiv/distinfo4
2 files changed, 24 insertions, 23 deletions
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile
index 51152339ff85..4f022eb02ad8 100644
--- a/graphics/pqiv/Makefile
+++ b/graphics/pqiv/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pqiv
-PORTVERSION= 0.11
-PORTREVISION= 1
+PORTVERSION= 0.12
CATEGORIES= graphics
MASTER_SITES= http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/
EXTRACT_SUFX= .tbz
@@ -17,45 +16,47 @@ COMMENT= Pretty Quick Image Viewer
LICENSE= GPLv2
-OPTIONS= SORTING "Enable sorting of loaded files" on \
- COMPOSITE "Enable support for transparent windows" on \
- FADING "Enable support for fading images" on \
- COMMANDS "Enable support for external command execution" on \
- CONFIG "Enable support for a configuration file" on \
- ANIMATIONS "Enable support for animations" on
+OPTIONS_DEFINE= SORTING COMPOSITE FADING COMMANDS CONFIG ANIMATIONS DOCS
+OPTIONS_DEFAULT=SORTING COMPOSITE FADING COMMANDS CONFIG ANIMATIONS
+SORTING_DESC= Enable sorting of loaded files
+COMPOSITE_DESC= Enable support for transparent windows
+FADING_DESC= Enable support for fading images
+COMMANDS_DESC= Enable support for external command execution
+CONFIG_DESC= Enable support for a configuration file
+ANIMATIONS_DESC=Enable support for animations
USE_BZIP2= yes
USE_GNOME= gtk20
CFLAGS+= -DNO_INOTIFY -DBINARY_NAME=\"${PORTNAME}\"
MAN1= pqiv.1
-PORTDOCS= README
+PORTDOCS= README.markdown
PLIST_FILES= bin/pqiv
-CPPFLAGS+= `${pkgconfig_DETECT} --cflags gtk+-2.0 gthread-2.0`
-LDFLAGS+= `${pkgconfig_DETECT} --libs gtk+-2.0 gthread-2.0`
+CPPFLAGS+= $$(${pkgconfig_DETECT} --cflags gtk+-2.0 gthread-2.0)
+LDFLAGS+= $$(${pkgconfig_DETECT} --libs gtk+-2.0 gthread-2.0)
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_SORTING)
+.if empty(PORT_OPTIONS:MSORTING)
CFLAGS+= -DNO_SORTING
SORTFILE= # Empty
.else
SORTFILE= lib/strnatcmp.c
.endif
-.if defined(WITHOUT_COMPOSITE)
+.if empty(PORT_OPTIONS:MCOMPOSITE)
CFLAGS+= -DNO_COMPOSITING
.endif
-.if defined(WITHOUT_FADING)
+.if empty(PORT_OPTIONS:MFADING)
CFLAGS+= -DNO_FADING
.endif
-.if defined(WITHOUT_COMMANDS)
+.if empty(PORT_OPTIONS:MCOMMANDS)
CFLAGS+= -DNO_COMMANDS
.endif
-.if defined(WITHOUT_CONFIG)
+.if empty(PORT_OPTIONS:MCONFIG)
CFLAGS+= -DNO_CONFIG_FILE
.endif
-.if defined(WITHOUT_ANIMATIONS)
+.if empty(PORT_OPTIONS:MANIMATIONS)
CFLAGS+= -DNO_ANIMATIONS
.endif
@@ -70,9 +71,9 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.markdown ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/pqiv/distinfo b/graphics/pqiv/distinfo
index 7bd0b34a8881..173c29226df3 100644
--- a/graphics/pqiv/distinfo
+++ b/graphics/pqiv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pqiv-0.11.tbz) = 2f0815105c6c550c2886a8f196b653926e2fd934f51cca3f3b1a87ba84359851
-SIZE (pqiv-0.11.tbz) = 32918
+SHA256 (pqiv-0.12.tbz) = 646c69f2f4e7289913f6b8e8ae984befba9debf0d2b4cc8af9955504a1fccf1e
+SIZE (pqiv-0.12.tbz) = 33284