1f4495b33e
Implement a new DEPENDS definition, which looks for an installed package, building it if not present, and use it in preference to LIB_DEPENDS. This should make the package collection more useful on NetBSD ELF ports.
29 lines
799 B
Makefile
29 lines
799 B
Makefile
# $NetBSD: Makefile,v 1.8 1998/04/22 14:22:39 agc Exp $
|
|
#
|
|
|
|
DISTNAME= mikmod-2.14-unix
|
|
PKGNAME= mikmod-2.14
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.chiark.greenend.org.uk/~stevem/mikmod/
|
|
|
|
MAINTAINER= mycroft@NetBSD.ORG
|
|
|
|
DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
|
|
|
|
RESTRICTED= "Registration required for redistribution and commercial use."
|
|
MIRROR_DISTFILE= no
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/source
|
|
MAN1= mikmod.1
|
|
|
|
do-install:
|
|
( cd ${WRKSRC} ; ${INSTALL_PROGRAM} mikmod mikcvt ${PREFIX}/bin )
|
|
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/mikmod.1 ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/mikmod
|
|
.for f in credits.txt mikmod.txt register.frm
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/$f ${PREFIX}/share/doc/mikmod
|
|
.endfor
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|