2013-09-20 20:35:44 +02:00
|
|
|
# Created by: antonakis@gmail.com
|
2008-10-05 12:09:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= optar
|
|
|
|
PORTVERSION= 1.0
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 5
|
2008-10-05 12:09:53 +02:00
|
|
|
CATEGORIES= graphics
|
2014-02-23 17:13:58 +01:00
|
|
|
MASTER_SITES= http://ronja.twibright.com/
|
|
|
|
DISTFILES= optar.tgz
|
2008-10-05 12:09:53 +02:00
|
|
|
|
2014-02-05 09:22:02 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-23 17:13:58 +01:00
|
|
|
COMMENT= Tool for encoding data on paper
|
2008-10-05 12:09:53 +02:00
|
|
|
|
2014-02-23 17:13:58 +01:00
|
|
|
LICENSE= GPLv2
|
2014-02-10 13:58:54 +01:00
|
|
|
|
2015-04-05 16:01:51 +02:00
|
|
|
BROKEN= Checksum and size mismatch
|
2015-10-25 20:35:28 +01:00
|
|
|
DEPRECATED= Broken for more than 6 months
|
|
|
|
EXPIRATION_DATE= 2015-11-26
|
2015-04-05 16:01:51 +02:00
|
|
|
|
2014-12-25 20:04:25 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2008-10-05 12:09:53 +02:00
|
|
|
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
|
2014-02-23 17:13:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/optar_dist
|
|
|
|
|
|
|
|
USES= gmake
|
2008-10-05 12:09:53 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps
|
|
|
|
|
2014-02-23 17:13:58 +01:00
|
|
|
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`|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} optar unoptar \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_SCRIPT} pgm2ps \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
|
2008-10-05 12:09:53 +02:00
|
|
|
.include <bsd.port.mk>
|