blob: 8be58ebb5fbbd0103e490e103de508aeeeca0b4a (
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
|
# New ports collection makefile for: sdlsand
# Date created: 22 Apr 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= sdlsand
PORTVERSION= 20060207
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= sldsand-src-${PORTVERSION}
MAINTAINER= amdmi3@mail.ru
COMMENT= Simulation of falling sand and other materials
USE_ZIP= yes
USE_SDL= sdl
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/SDL\ Sand/SDL\ Sand
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme.txt
do-build:
cd ${WRKSRC} && ${CXX} -o ${PORTNAME} ${CXXFLAGS} \
`${SDL_CONFIG} --cflags --libs` main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
|