- Use MAKE_ARGS instead of Makefile-patch

- Sanitize packaging
This commit is contained in:
Volker Stolz 2005-04-19 08:51:44 +00:00
parent e71d97e199
commit 0a429c783f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133646
2 changed files with 6 additions and 27 deletions

View file

@ -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

View file

@ -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
###############################################################################