blob: 18d4b50523d3b1d8bfab8e65b2c82ce6802f8e24 (
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
48
|
# New ports collection makefile for: acidwarp
# Date created: 2000-10-22
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= acidwarp
PORTVERSION= 1.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
MAINTAINER= trevor@FreeBSD.org
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
ALL_TARGET= acidwarp
DOCFILES= README TODO Thanks
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/acidwarp
post-extract:
${RM} ${WRKSRC}/acidwarp
post-patch:
@${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile
pre-install:
${ECHO_CMD} "bin/acidwarp" > ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCFILES}
${ECHO_CMD} -n "share/doc/acidwarp/" >> ${PLIST}
${ECHO_CMD} ${i} >> ${PLIST}
.endfor
${ECHO_CMD} "@dirrm share/doc/acidwarp" >> ${PLIST}
.endif
do-install:
${INSTALL} -c -g wheel -o root -m 4755 ${WRKSRC}/acidwarp ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/acidwarp
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/acidwarp
.endfor
.endif
.include <bsd.port.mk>
|