mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
0769a89dd4
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
38 lines
851 B
Makefile
38 lines
851 B
Makefile
# New ports collection makefile for: giftrans
|
|
# Version required: v1.12.2
|
|
# Date created: 14 October 1996
|
|
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= giftrans-1.12.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.rz.uni-karlsruhe.de/pub/net/www/tools/giftrans/
|
|
DISTFILES= giftrans.c giftrans.1
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
DIST_SUBDIR= giftrans
|
|
NO_WRKSUBDIR= yes
|
|
|
|
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} ${CFLAGS} giftrans.c -o giftrans)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/giftrans ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/giftrans.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|