Provide man page, .desktop file and icon (submitted upstream).

This commit is contained in:
Emanuel Haupt 2017-04-12 15:23:26 +00:00
parent 8287616772
commit 2e44077915
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438361
2 changed files with 16 additions and 3 deletions

View File

@ -3,8 +3,10 @@
PORTNAME= protracker
DISTVERSION= 2.3d
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= LOCAL/ehaupt
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-extras-1.tar.gz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Amiga ProTracker clone
@ -19,14 +21,23 @@ USE_SDL= sdl2
LDFLAGS+= -lSDL2 -lm
PLIST_FILES= bin/protracker
PLIST_FILES= bin/protracker man/man1/protracker.1.gz \
share/applications/protracker.desktop \
share/pixmaps/protracker.png
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/trunk/src/*.c \
${WRKSRC}/trunk/src/gfx/*.c -o ${WRKSRC}/trunk/protracker
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${MANPREFIX}/man/man1 \
${STAGEDIR}${DESKTOPDIR}
${INSTALL_PROGRAM} ${WRKSRC}/trunk/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-extras-1/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-extras-1/*.desktop \
${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-extras-1/*.png \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1491996509
TIMESTAMP = 1492008280
SHA256 (protracker-2.3d.tar.gz) = 5646987ab6ca6a5177520ab5f6fbf3dbdaba968909b073fdaedd153d84a5bab7
SIZE (protracker-2.3d.tar.gz) = 2478968
SHA256 (protracker-extras-1.tar.gz) = 51a078f344611f6a41e44bab9a8640f363224c41a8a5432f55aeba3bb49fbdbf
SIZE (protracker-extras-1.tar.gz) = 1267