mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
e962eea875
- Convert to PLIST_DIRS/PLIST_FILES and ditch pkg-plist.
38 lines
902 B
Makefile
38 lines
902 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: wtf
|
|
# Date created: 29 December 2001
|
|
# Whom: Maxime Henrion <mux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wtf
|
|
PORTVERSION= 20050505
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.mu.org/~mux/wtf/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= petef
|
|
|
|
MAINTAINER= mux@FreeBSD.org
|
|
COMMENT= Translates common Internet acronyms
|
|
|
|
NO_BUILD= yes
|
|
USE_REINPLACE= yes
|
|
|
|
MAN6= wtf.6
|
|
|
|
PLIST_FILES= bin/wtf %%DATADIR%%/acronyms %%DATADIR%%/acronyms.comp
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/share/misc|${DATADIR}|g' ${WRKSRC}/wtf*
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wtf ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/wtf.6 ${PREFIX}/man/man6
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/acronyms ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/acronyms.comp ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|