diff options
author | gahr <gahr@FreeBSD.org> | 2014-01-30 16:37:11 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-01-30 16:37:11 +0800 |
commit | 59a8dbc022ea39ecb83763346ae36909baf64443 (patch) | |
tree | 2024895dec812901d58cf4460512e453cfab8cdb | |
parent | 2c494705f4563268574b5b30921ebc50ccb0f0c1 (diff) | |
download | freebsd-ports-gnome-59a8dbc022ea39ecb83763346ae36909baf64443.tar.gz freebsd-ports-gnome-59a8dbc022ea39ecb83763346ae36909baf64443.tar.zst freebsd-ports-gnome-59a8dbc022ea39ecb83763346ae36909baf64443.zip |
- STAGE-clean
- Add LICENSE
- Remove article from COMMENT line
-rw-r--r-- | audio/dcd/Makefile | 11 | ||||
-rw-r--r-- | audio/dcd/files/patch-Makefile | 20 |
2 files changed, 23 insertions, 8 deletions
diff --git a/audio/dcd/Makefile b/audio/dcd/Makefile index fff786f8d063..fd122b3f7813 100644 --- a/audio/dcd/Makefile +++ b/audio/dcd/Makefile @@ -8,17 +8,18 @@ CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}player/${PORTNAME}player/${PORTVERSION} MAINTAINER= gahr@FreeBSD.org -COMMENT= A simple, programmable, intelligent CD player +COMMENT= Simple, programmable, intelligent CD player + +LICENSE= GPLv2 LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio USES= gmake -NO_STAGE= yes -MAN1= dcd.1 -PLIST_FILES= bin/dcd +MAKE_ENV+= STAGEDIR=${STAGEDIR} -LATEST_LINK= audio_dcd +PLIST_FILES= bin/dcd \ + man/man1/dcd.1.gz post-patch: # Handle namespace collision with libcdaudio diff --git a/audio/dcd/files/patch-Makefile b/audio/dcd/files/patch-Makefile index ccde328ddb41..2a08fb39dcb4 100644 --- a/audio/dcd/files/patch-Makefile +++ b/audio/dcd/files/patch-Makefile @@ -1,5 +1,5 @@ ---- ./Makefile.orig 2003-08-27 21:44:07.000000000 -0400 -+++ ./Makefile 2012-07-31 18:29:42.000000000 -0400 +--- Makefile.orig 2003-08-28 03:44:07.000000000 +0200 ++++ Makefile 2014-01-30 09:36:44.000000000 +0100 @@ -1,11 +1,11 @@ ## This is the makefile for dcd, dave's cd player. @@ -32,7 +32,7 @@ ## Here be dragons... (Non-configurable parts past here.) -@@ -94,10 +94,10 @@ +@@ -94,20 +94,19 @@ all: ${PROGS} .c.o: ${SRCS} @@ -45,3 +45,17 @@ clean:; -${RM} *.o ${PROGS} + + install: dcd +- install -m 755 -d ${PREFIX}/bin +- install -m 755 -s dcd ${PREFIX}/bin +- install -m 755 -d ${PREFIX}/man/man1 +- install -m 644 dcd.1 ${PREFIX}/man/man1 +- install -m 755 -d ${HOME}/${CDI} ++ install -m 755 -d ${STAGEDIR}${PREFIX}/bin ++ install -m 755 -s dcd ${STAGEDIR}${PREFIX}/bin ++ install -m 755 -d ${STAGEDIR}${PREFIX}/man/man1 ++ install -m 644 dcd.1 ${STAGEDIR}${PREFIX}/man/man1 + + depend: + makedepend -- ${CFLAGS} ${EXTRA_CFLAGS} -- ${SRCS} |