summaryrefslogtreecommitdiff
path: root/graphics/giftrans
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>1999-12-27 08:23:59 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>1999-12-27 08:23:59 +0000
commit0769a89dd4b63e34404c22b4822d1fe4dcd56f60 (patch)
tree91244b29050cc80b795e282bd0322bb2a6557a83 /graphics/giftrans
parentUpdate to 3.04 and some fix. (diff)
Update to 1.12.2 and some fix.
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=24154
Diffstat (limited to 'graphics/giftrans')
-rw-r--r--graphics/giftrans/Makefile29
-rw-r--r--graphics/giftrans/distinfo3
2 files changed, 22 insertions, 10 deletions
diff --git a/graphics/giftrans/Makefile b/graphics/giftrans/Makefile
index 617062eb908a..6e94de05feae 100644
--- a/graphics/giftrans/Makefile
+++ b/graphics/giftrans/Makefile
@@ -1,26 +1,37 @@
# New ports collection makefile for: giftrans
-# Version required: v1.12
+# Version required: v1.12.2
# Date created: 14 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= giftrans
-PKGNAME= giftrans-1.12
+DISTNAME= giftrans-1.12.2
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.lab.kdd.co.jp/infosystems/misc/tools/
+MASTER_SITES= ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/
+DISTFILES= giftrans.c giftrans.1
-MAINTAINER= nacai@iname.com
+MAINTAINER= nakai@FreeBSD.org
+
+DIST_SUBDIR= giftrans
+NO_WRKSUBDIR= yes
-CONFIGURE_ENV= X11BASE=${X11BASE}
MAN1= giftrans.1
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @for file in ${DISTFILES}; do \
+ ${CP} ${_DISTDIR}/$$file ${WRKSRC}; \
+ done
+
+post-patch:
+ @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/giftrans.c
+
do-build:
- (cd ${WRKSRC}; cc -O2 giftrans.c -o giftrans)
+ (cd ${WRKSRC}; ${CC} ${CFLAGS} giftrans.c -o giftrans)
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
- @ ${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/graphics/giftrans/distinfo b/graphics/giftrans/distinfo
index 30f290eb387b..23234a291112 100644
--- a/graphics/giftrans/distinfo
+++ b/graphics/giftrans/distinfo
@@ -1 +1,2 @@
-MD5 (giftrans.tar.gz) = 422438da27cb49b6f84c12d2a1f1ca20
+MD5 (giftrans/giftrans.c) = 198cf3db39b9bf01006e661e9c7471df
+MD5 (giftrans/giftrans.1) = 834d2fdf9991c3274fcb2e01b1615f02