From 2e440779156ae50084bd2f0b18021c06bd263699 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 12 Apr 2017 15:23:26 +0000 Subject: [PATCH] Provide man page, .desktop file and icon (submitted upstream). --- audio/protracker/Makefile | 15 +++++++++++++-- audio/protracker/distinfo | 4 +++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/audio/protracker/Makefile b/audio/protracker/Makefile index 330a7530d509..9bb433777357 100644 --- a/audio/protracker/Makefile +++ b/audio/protracker/Makefile @@ -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 diff --git a/audio/protracker/distinfo b/audio/protracker/distinfo index 60d3fc5f6fda..2162f85be818 100644 --- a/audio/protracker/distinfo +++ b/audio/protracker/distinfo @@ -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