mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
games/bluemoon: Update to 2.13
- Switch to DISTVERSION - Define license file - Drop gmake - Take maintainership ChangeLog: https://gitlab.com/esr/bluemoon/-/blob/master/NEWS.adoc
This commit is contained in:
parent
b7f06adf2f
commit
72b2fbb667
@ -1,37 +1,34 @@
|
||||
PORTNAME= bluemoon
|
||||
PORTVERSION= 2.12
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 2.13
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.catb.org/~esr/bluemoon/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= eduardo@FreeBSD.org
|
||||
COMMENT= Blue Moon card solitaire
|
||||
WWW= http://www.catb.org/~esr/bluemoon/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gmake ncurses
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
USES= ncurses
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/man/man6/${PORTNAME}.6.gz \
|
||||
share/applications/${PORTNAME}.desktop \
|
||||
share/man/man6/${PORTNAME}.6.gz \
|
||||
share/pixmaps/${PORTNAME}.png
|
||||
|
||||
PORTDOCS= NEWS README
|
||||
PORTDOCS= NEWS.adoc README
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
|
||||
s|cc |$${CC} |g' ${WRKSRC}/Makefile
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} -DRELEASE=\"${DISTVERSION}\" -I${NCURSESINC} -L${NCURSESLIB} -lncurses -o ${PORTNAME} ${PORTNAME}.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${PREFIX}/share/man/man6/
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (bluemoon-2.12.tar.gz) = 52aec7ba74d0e811f46de44c30252877b612d780bc531e872357375b54083006
|
||||
SIZE (bluemoon-2.12.tar.gz) = 12586
|
||||
TIMESTAMP = 1706959295
|
||||
SHA256 (bluemoon-2.13.tar.gz) = 3c3bc7be4cc2f330d6b7f7000d556938f355b70d131678dec2dc941a5e141019
|
||||
SIZE (bluemoon-2.13.tar.gz) = 12621
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.orig 2014-05-21 12:29:36 UTC
|
||||
+++ Makefile
|
||||
@@ -6,7 +6,7 @@ SOURCES = README COPYING NEWS Makefile c
|
||||
CFLAGS=-O
|
||||
|
||||
bluemoon: bluemoon.c
|
||||
- cc $(CFLAGS) -DRELEASE=\"$(VERS)\" bluemoon.c -lncurses -o bluemoon
|
||||
+ $(CC) $(CFLAGS) -DRELEASE=\"$(VERS)\" bluemoon.c $(LDFLAGS) -lncurses -o bluemoon
|
||||
|
||||
bluemoon.6: bluemoon.xml
|
||||
xmlto man bluemoon.xml
|
Loading…
Reference in New Issue
Block a user