blob: 87c977f6f3a494e6630d55515c1bac6543ab5248 (
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
|
# 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/ \
LOCAL/ehaupt \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A pipe connecting game using libSDL
USE_SDL= sdl
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
-e '/^#define DATADIR/ s|.*|#define DATADIR "${DATADIR}/"|' \
${WRKSRC}/main.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.bmp ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|