aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giftrans
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>1999-12-27 16:23:59 +0800
committernakai <nakai@FreeBSD.org>1999-12-27 16:23:59 +0800
commit7d68cd125aaaef0a78ebd639b37c848654be2a57 (patch)
tree3faeac9d4abaea649b3c79c09c2efe4c0767da66 /graphics/giftrans
parent7e3d30282c058e6e70b24f3ff9546bd031281782 (diff)
downloadfreebsd-ports-gnome-7d68cd125aaaef0a78ebd639b37c848654be2a57.tar.gz
freebsd-ports-gnome-7d68cd125aaaef0a78ebd639b37c848654be2a57.tar.zst
freebsd-ports-gnome-7d68cd125aaaef0a78ebd639b37c848654be2a57.zip
Update to 1.12.2 and some fix.
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
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