mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Add LICENSE
- Use new OPTIONS features
This commit is contained in:
parent
55dca44d8f
commit
59728c8023
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372681
@ -10,6 +10,9 @@ MASTER_SITES= SF/lgames/${PORTNAME}/
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Classical memory game
|
||||
|
||||
LICENSE= GPLv2 # or later
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_SDL= sdl
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
@ -19,16 +22,10 @@ PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
|
||||
PLIST_FILES+= share/locale/de/LC_MESSAGES/lpairs.mo
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
.endif
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
|
||||
NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/lpairs.mo
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^LIBS =/ s|$$| $${INTLLIBS}|' \
|
||||
|
Loading…
Reference in New Issue
Block a user