mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
fac4ecc6a6
This port needed a lot more help than the PR indicated: * Full stage support * DESTDIR had to be patched in, there was only a placeholder * It didn't build on clang because there was no header for rand function * Almost very patch had DOS carriage returns (stripped) * Needed USES+=dos2unix so patches apply (caused revbump) * NOPORTDOCS needed to be replaced by PORT_OPTIONS - DOCS * post-extract target was muted, as is the norm * Previous install patches reworked to fit STAGE support better The PR updated: * Use of autotools * conversion of USE_GMAKE and USE_BZIP2 was done previously * GPLv2 license was added PR: 188798 Submitted by: maintainer (Aaron Baugher) Rest by: marino
38 lines
811 B
Makefile
38 lines
811 B
Makefile
# Created by: Aaron Baugher
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xlogical
|
|
PORTVERSION= 1.0p8
|
|
PORTREVISION= 8
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://changeling.ixionstudios.com/xlogical/downloads/ \
|
|
http://freebsd.portsreview.info/downloads/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/-/}
|
|
|
|
MAINTAINER= aaron@baugher.biz
|
|
COMMENT= Remake of the classic puzzle game Logical
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= gmake tar:bzip2 dos2unix
|
|
USE_AUTOTOOLS= aclocal automake autoconf
|
|
AUTOMAKE_ARGS= --add-missing
|
|
USE_SDL= sdl image mixer
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-extract:
|
|
@${CHMOD} 755 ${WRKSRC}/missing
|
|
@${RM} ${WRKSRC}/LICENSE
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/[A-Z][A-Z]* ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|