aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cam
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-19 16:51:44 +0800
committervs <vs@FreeBSD.org>2005-04-19 16:51:44 +0800
commitd1c925c63cfe96a410f88a54798af4de5fb907e1 (patch)
treebb5b8ccab454848501261ad7445f1698b5f9e3df /audio/cam
parent87ac55bf4db72c4b8b1f97d1898c7e8958d3176d (diff)
downloadfreebsd-ports-gnome-d1c925c63cfe96a410f88a54798af4de5fb907e1.tar.gz
freebsd-ports-gnome-d1c925c63cfe96a410f88a54798af4de5fb907e1.tar.zst
freebsd-ports-gnome-d1c925c63cfe96a410f88a54798af4de5fb907e1.zip
- Use MAKE_ARGS instead of Makefile-patch
- Sanitize packaging
Diffstat (limited to 'audio/cam')
-rw-r--r--audio/cam/Makefile10
-rw-r--r--audio/cam/files/patch-ad23
2 files changed, 6 insertions, 27 deletions
diff --git a/audio/cam/Makefile b/audio/cam/Makefile
index c427a47c4108..3bf094da5d37 100644
--- a/audio/cam/Makefile
+++ b/audio/cam/Makefile
@@ -15,11 +15,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Cpu's Audio Mixer [curses based]
-MAN1= cam.1
-PLIST= ${WRKDIR}/pkg-plist
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
+ BINDIR="${PREFIX}/bin" \
+ MANDIR="${MAN1PREFIX}/man/man1" \
+ XEFILE=""
-pre-install:
- ${ECHO_CMD} bin/cam > ${PLIST}
+MAN1= cam.1
+PLIST_FILES= bin/cam
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cam ${PREFIX}/bin
diff --git a/audio/cam/files/patch-ad b/audio/cam/files/patch-ad
deleted file mode 100644
index f74988114ca5..000000000000
--- a/audio/cam/files/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.orig Thu Sep 19 10:18:29 1996
-+++ Makefile Mon Jun 3 19:43:39 2002
-@@ -4,15 +4,15 @@
- # jvdbergh@uia.ua.ac.be #
- ###############################################################################
-
--CC = gcc
--CFLAGS = -Wall -O2
-+CC ?= gcc
-+CFLAGS += -Wall
- LIBS = -lncurses
- INSTALL = install
--BINDIR = /usr/local/bin
-+BINDIR = ${PREFIX}/bin
- MANFILE= cam.1
--MANDIR = /usr/man/man1
-+MANDIR = ${PREFIX}/man/man1
- EFILE = cam
--XEFILE = xcam
-+#XEFILE = xcam
- OBJS = cam.o screens.o sounds.o
- ###############################################################################
-