blob: 20af43345ac3f1c80affea6830052d84cf884178 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: giftrans
# Date created: 14 October 1996
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= giftrans
PORTVERSION= 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>
|