blob: 486c1b7eb31e84323959d4958b3c1d4a5fa7d877 (
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
44
45
46
47
|
# New ports collection makefile for: bomb
# Date created: 2000-10-23
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= bomb
PORTVERSION= 1.26
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.draves.org/bomb/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive display hack for SVGAlib or X
LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound \
tiff.4:${PORTSDIR}/graphics/tiff \
vga.1:${PORTSDIR}/graphics/svgalib \
quicktime.0:${PORTSDIR}/multimedia/libquicktime
MAKE_ENV= SCM_CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"
ALL_TARGET= ${PORTNAME}
PORTDOCS= README bomb.lsm guile.txt manual.txt notes.txt
pre-configure:
.for fi in Makefile bomb-${PORTVERSION}-1.spec
${REINPLACE_CMD} -e 's|/usr/lib/bomb|${DATADIR}|; \
s|/home/spot/src/quicktime4linux-1.1.9/quicktime|${LOCALBASE}/lib|; \
s|..QTDIR./libquicktime.a|-lquicktime|; \
s|/usr/X11R6/lib|${LOCALBASE}/lib -L${LOCALBASE}/lib|; \
s|-lpthread|${PTHREAD_LIBS}|; \
s|/usr/bin/bomb|${PREFIX}/bin/bomb|; \
s|/usr/share/control-center/.data|${DATADIR}/.data|; \
s|install -d $$(DATA_DIR)|install -d ${DATADIR}/.data|; \
s|cp -a suck|${CP} -R suck|; \
s|cp -a|${INSTALL_DATA}|' ${WRKSRC}/${fi}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|