289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
44 lines
901 B
Makefile
44 lines
901 B
Makefile
# 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/ImageMagick6
|
|
|
|
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>
|