blob: dd39f6c6118eed98d5de2c96dbe13d3e2add5936 (
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
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= pipepanic
PORTVERSION= 0.1.3
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.users.waitrose.com/~thunor/pipepanic/dload/ \
${MASTER_SITE_LOCAL} \
http://mirror.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR= ehaupt
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A pipe connecting game using libSDL
USE_SDL= sdl
PORTDOCS= README
DATAFILES= ascii15.bmp ascii30.bmp digits24.bmp \
digits48.bmp tiles24.bmp tiles48.bmp
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} \
-e '/^#define DATADIR/ s|.*|#define DATADIR "${DATADIR}/"|' \
${WRKSRC}/main.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
.for f in ${DATAFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|