user-destdir support

This commit is contained in:
joerg 2009-07-08 15:52:33 +00:00
parent 65332f740c
commit ada3812834
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2009/05/05 19:01:03 zafer Exp $
# $NetBSD: Makefile,v 1.27 2009/07/08 15:52:33 joerg Exp $
#
DISTNAME= emixer-0.05.5
@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://toaster.muc-t-systems.com/~emixer/
COMMENT= mpg123-frontend that can mix two mp3 streams, and fade between them
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= mpg123{,-esound,-nas}-0.59*:../../audio/mpg123
NO_CONFIGURE= YES

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.6 2004/05/03 17:32:36 minskim Exp $
# $NetBSD: Makefile,v 1.7 2009/07/08 15:52:33 joerg Exp $
all: emixer
emixer: main.o
${CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} -lncurses ${LIBOSSAUDIO}
install:
${BSD_INSTALL_PROGRAM} emixer ${PREFIX}/bin/emixer
${BSD_INSTALL_DATA} readme ${PREFIX}/share/doc/emixer.readme
${BSD_INSTALL_PROGRAM} emixer ${DESTDIR}${PREFIX}/bin/emixer
${BSD_INSTALL_DATA} readme ${DESTDIR}${PREFIX}/share/doc/emixer.readme