pkgsrc-wip/lorder/Makefile
Sergey Svishchev 7b4709677e Delint:
- convert spaces to tabs (pkglint --autofix)
- set, not append to USE_LANGUAGES
2006-10-29 08:32:37 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2006/10/29 08:32:47 shattered Exp $
#
# XXX This version is the CVS revision number from NetBSD's
# usr.bin/lorder/lorder.sh. It also was known as 8.1 back in 1993.
DISTNAME= lorder-1.12
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= reed@reedmedia.net
#HOMEPAGE=
COMMENT= Determine interdependencies in a list of object files
EXTRACT_ONLY= # empty
NO_CHECKSUM= YES
NO_CONFIGURE= YES
NO_BUILD= YES
.include "../../mk/bsd.prefs.mk"
# XXX This would be a good place to use PREFER_PKGSRC
.if empty(OPSYS:M*BSD)
DEPENDS+= mktemp>=1.4:../../sysutils/mktemp
MKTEMP= ${LOCALBASE}/bin/mktemp
.else
MKTEMP= mktemp
.endif
# This also uses nm(1) which could be from binutils package.
# Maybe a DEPENDS for it too? Then again, nobody would use lorder
# unless they had binutils, I assume.
post-patch:
${SED} -e "s:MKTEMP=mktemp:MKTEMP=${MKTEMP}:" \
< ${FILESDIR}/lorder.sh > ${WRKDIR}/lorder
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/lorder ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/lorder.1 ${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"