blob: 6f4f0527f9e8c65398b7451e2538da2f797e94bc (
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
38
39
40
41
42
43
|
# Created by: Eckart "Isegrim" Hofmann
# $FreeBSD$
PORTNAME= xteddy
PORTVERSION= 2.2
CATEGORIES= games
MASTER_SITES= http://webstaff.itn.liu.se/~stegu/xteddy/
MAINTAINER= ports@FreeBSD.org
COMMENT= Cuddlesome teddy for the X desktop
LICENSE= GPLv2
USES= pkgconfig
USE_EFL= imlib2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lXext
PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
man/man6/xteddy.6.gz \
%%DATADIR%%/teddy.png %%DATADIR%%/xalex.png \
%%DATADIR%%/xbobo.png %%DATADIR%%/xbrummi.png \
%%DATADIR%%/xcherubino.png %%DATADIR%%/xduck.png \
%%DATADIR%%/xhedgehog.png %%DATADIR%%/xklitze.png \
%%DATADIR%%/xnamu.png %%DATADIR%%/xorca.png \
%%DATADIR%%/xpenguin.png %%DATADIR%%/xpuppy.png \
%%DATADIR%%/xruessel.png %%DATADIR%%/xteddy.png \
%%DATADIR%%/xtrouble.png %%DATADIR%%/xtuxxy.png
PLIST_DIRS= %%DATADIR%%
post-patch:
.for f in configure xteddy.c
@${REINPLACE_CMD} -e \
's|/usr/share/xteddy|${DATADIR}|' ${WRKSRC}/${f}
.endfor
.for f in xteddy_test xtoys
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${f}
.endfor
.include <bsd.port.mk>
|