blob: b1aebd24c12309235389424add9c978ed7c7da8e (
plain)
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
|
# Created by: Edwin Groothuis
# $FreeBSD$
PORTNAME= enigma
PORTVERSION= 1.21
CATEGORIES= games
MASTER_SITES= SF/enigma-game/Release%20${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Enigma is a reimplementation of Oxyd, a puzzle game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \
libpng.so:graphics/png \
libenet.so:net/enet \
libcurl.so:ftp/curl
BUILD_DEPENDS= convert:graphics/ImageMagick
USES= gmake localbase pkgconfig
USE_SDL= image mixer sdl ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-system-enet
SUB_FILES= pkg-message
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
post-patch:
@${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \
${WRKSRC}/etc/enigma.desktop
post-install:
@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
.include <bsd.port.mk>
|