1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Convert Makefile headers to new style

- Add DESKTOP_ENTRIES [1]
- Remove redundant comments [1]

PR:	ports/173429 [1]
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer) [1]
Feature safe:	yes
This commit is contained in:
Alex Kozlov 2012-11-07 22:54:57 +00:00
parent 38976c466c
commit 91c8c19b64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307148
2 changed files with 18 additions and 14 deletions

View File

@ -1,16 +1,15 @@
# New Ports collection makefile for: impossible_mission_puzzle
# Date created: 2012-04-27
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= impossible_mission_puzzle
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.linuxmotors.com/puzzle/downloads/
DISTNAME= puzzle-${PORTVERSION}
EXTRACT_SUFX= .tgz
MASTER_SITES= http://www.linuxmotors.com/puzzle/downloads/ \
SF/nemysisfreebsdp/:icons
DISTFILES= puzzle-${DISTVERSION}.tgz \
${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= puzzle-${DISTVERSION}.tgz
MAINTAINER= nemysis@gmx.ch
COMMENT= This is a puzzle from the old C64 Impossible Mission game
@ -22,10 +21,14 @@ WRKSRC= ${WRKDIR}/puzzle-${PORTVERSION}
USE_SDL= sdl
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/impossible_mission_puzzle
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= README
DESKTOP_ENTRIES="Impossible Mission puzzle" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
.include <bsd.port.options.mk>
do-build:
@ -33,13 +36,12 @@ do-build:
`${SDL_CONFIG} --cflags --libs` puzzle.c
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,4 @@
SHA256 (puzzle-1.0.1.tgz) = ea6bf4e2edc4c9ed1f5656355e5f25a9666f8060fd53849ee7822f29c6597578
SIZE (puzzle-1.0.1.tgz) = 4414
SHA256 (impossible_mission_puzzle/puzzle-1.0.1.tgz) = ea6bf4e2edc4c9ed1f5656355e5f25a9666f8060fd53849ee7822f29c6597578
SIZE (impossible_mission_puzzle/puzzle-1.0.1.tgz) = 4414
SHA256 (impossible_mission_puzzle/impossible_mission_puzzle.png) = dc6f99bdf7ab2fab500f833136ff4ea996c3584cba97d553177cd116b17b9cff
SIZE (impossible_mission_puzzle/impossible_mission_puzzle.png) = 526324