04d8b93bd6
from 20150206 When there's a clear consensus for the new acronyms being wanted, this package can be updated. Until then, it stays on 20150206. As agreed with the PMC.
30 lines
810 B
Makefile
30 lines
810 B
Makefile
# $NetBSD: Makefile,v 1.3 2015/04/23 17:16:29 agc Exp $
|
|
#
|
|
|
|
DISTNAME= wtf-20150206
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bsdwtf/}
|
|
|
|
MAINTAINER= pho@cielonegro.org
|
|
HOMEPAGE= http://bsdwtf.sourceforge.net/
|
|
COMMENT= Translate common Internet acronyms
|
|
LICENSE= public-domain
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= wtf wtf.6
|
|
SUBST_MESSAGE.paths= Fixing absolute paths.
|
|
SUBST_SED.paths= -e 's|/usr/share/misc/|${PREFIX}/share/wtf/|g'
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
REPLACE_SH= wtf
|
|
|
|
INSTALLATION_DIRS+= bin share/wtf ${PKGMANDIR}/man6
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wtf ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/acronyms* ${DESTDIR}${PREFIX}/share/wtf
|
|
${INSTALL_MAN} ${WRKSRC}/wtf.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|