mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
df66a5cd17
Add desktop file and a minor cleanup patch. - Remove Desktop entry file, use supplied desktop files - Remove obsolete patch
40 lines
991 B
Makefile
40 lines
991 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bluemoon
|
|
PORTVERSION= 2.12
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.catb.org/~esr/bluemoon/
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Blue Moon card solitaire
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
man/man6/${PORTNAME}.6.gz \
|
|
share/applications/${PORTNAME}.desktop \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= NEWS README
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|g ; \
|
|
s|cc |$${CC} |g' ${WRKSRC}/Makefile
|
|
|
|
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_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|