aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-12-01 07:36:29 +0800
committerrene <rene@FreeBSD.org>2015-12-01 07:36:29 +0800
commit83933d52f54da2aef1193d604401c65290b325ad (patch)
tree780393530db3e782f1b4ad67c3b0242473305093 /graphics
parent2ffaf35a248981ea5d03973ad0546be956c6f4f8 (diff)
downloadfreebsd-ports-gnome-83933d52f54da2aef1193d604401c65290b325ad.tar.gz
freebsd-ports-gnome-83933d52f54da2aef1193d604401c65290b325ad.tar.zst
freebsd-ports-gnome-83933d52f54da2aef1193d604401c65290b325ad.zip
graphics/optar: update distfile and undeprecate
- The port version changes from 1.0 to 2015.02.09 - Add license file - Clean up Makefile - Remove now unneeded patch PR: 204198 Submitted by: tkato432
Diffstat (limited to 'graphics')
-rw-r--r--graphics/optar/Makefile17
-rw-r--r--graphics/optar/distinfo4
-rw-r--r--graphics/optar/files/patch-Makefile10
3 files changed, 9 insertions, 22 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:
diff --git a/graphics/optar/distinfo b/graphics/optar/distinfo
index c5a6d17fdadc..cd8356624dd3 100644
--- a/graphics/optar/distinfo
+++ b/graphics/optar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (optar.tgz) = b78fa6a41f6c699917f8b537c63bdf99b93133f034b4e1eaeabd0b6cbc9c5819
-SIZE (optar.tgz) = 37825
+SHA256 (optar/2015.02.09/optar.tgz) = 44856a9babb07e6be14c888020849e6fc803ef5283aed9b75197b93e66189982
+SIZE (optar/2015.02.09/optar.tgz) = 38228
diff --git a/graphics/optar/files/patch-Makefile b/graphics/optar/files/patch-Makefile
deleted file mode 100644
index 8554db9e8f28..000000000000
--- a/graphics/optar/files/patch-Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./Makefile.orig 2008-03-02 21:42:19.000000000 +0200
-+++ ./Makefile 2008-10-01 19:12:22.000000000 +0300
-@@ -1,6 +1,5 @@
- LDFLAGS=-lm
--CFLAGS=-O3 -Wall -Wuninitialized -fomit-frame-pointer -funroll-loops \
-- -fstrength-reduce -DNODEBUG `libpng-config --I_opts`
-+CFLAGS= `libpng-config --I_opts`
-
- all: optar unoptar
-