aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giftrans/Makefile
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/Makefile
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/Makefile')
-rw-r--r--graphics/giftrans/Makefile29
1 files changed, 20 insertions, 9 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>