aboutsummaryrefslogtreecommitdiff
path: root/graphics/optar/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2015-11-30 23:36:29 +0000
committerRene Ladan <rene@FreeBSD.org>2015-11-30 23:36:29 +0000
commit555f5abf3a52b6574afa2a25ec990c2c76bb994e (patch)
tree780393530db3e782f1b4ad67c3b0242473305093 /graphics/optar/Makefile
parent7aa5718bce12ca7b8d54c3e49415f6538220b319 (diff)
downloadports-555f5abf3a52b6574afa2a25ec990c2c76bb994e.tar.gz
ports-555f5abf3a52b6574afa2a25ec990c2c76bb994e.zip
Notes
Diffstat (limited to 'graphics/optar/Makefile')
-rw-r--r--graphics/optar/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/optar/Makefile b/graphics/optar/Makefile
index a2f0315b002d..e7324587ab73 100644
--- a/graphics/optar/Makefile
+++ b/graphics/optar/Makefile
@@ -2,27 +2,24 @@
# $FreeBSD$
PORTNAME= optar
-PORTVERSION= 1.0
-PORTREVISION= 5
+PORTVERSION= 2015.02.09
CATEGORIES= graphics
MASTER_SITES= http://ronja.twibright.com/
-DISTFILES= optar.tgz
+DISTNAME= ${PORTNAME}
+DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for encoding data on paper
LICENSE= GPLv2
-
-BROKEN= Checksum and size mismatch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
WRKSRC= ${WRKDIR}/optar_dist
-USES= gmake
+USES= gmake tar:tgz
PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps
@@ -30,8 +27,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS|#CFLAGS| ; \
s|gcc |$$(CC) | ; \
- s|-I/usr/local/include/libpng|`libpng-config --I_opts`| ; \
- s|-L/usr/local/lib|`libpng-config --L_opts`|' \
+ s|-I/usr/local/include/libpng|$$$$(libpng-config --I_opts)| ; \
+ s|-L/usr/local/lib|$$$$(libpng-config --L_opts)|' \
${WRKSRC}/Makefile
do-install: