840e11800e
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2007/01/07 09:16:00 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= mpgedit_0-7p2beta_src
|
|
PKGNAME= mpgedit-0.7.1.99
|
|
EXTRACT_SUFX= .tgz
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/mpgedit
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.mpgedit.org/mpgedit/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.mpgedit.org/mpgedit/
|
|
COMMENT= MPEG audio file editor
|
|
|
|
MAKE_FILE= makefile.linux
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xmpgedit
|
|
cd ${WRKSRC} && for f in mpgedit.1 xmpgedit.1 decoder.so.1 mp3decoder.sh.1 \
|
|
scramble_times.pl.1 scramble.pl.1 unscramble.pl.1; do \
|
|
${INSTALL_MAN} $$f ${PREFIX}/${PKGMANDIR}/man1; \
|
|
done; \
|
|
for f in libdecoder_mpg123.so libdecoder_popen.so libmpglib_mpgedit.so; do \
|
|
${INSTALL_DATA} $$f ${PREFIX}/lib; \
|
|
done; \
|
|
for f in mpgedit mpgedit_nocurses gui/xmpgedit; do \
|
|
${INSTALL_PROGRAM} $$f ${PREFIX}/bin; \
|
|
done; \
|
|
${INSTALL_SCRIPT} mp3decoder.sh ${PREFIX}/bin; \
|
|
for f in eject.xpm pause.xpm record.xpm next_t.xpm play.xpm stop.xpm; do \
|
|
${INSTALL_DATA} gui/$$f ${PREFIX}/share/xmpgedit; \
|
|
done
|
|
${RM} -f ${PREFIX}/lib/libmpgedit_decoder.so
|
|
${LN} -s libdecoder_mpg123.so ${PREFIX}/lib/libmpgedit_decoder.so
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|