blob: 5d5ab77f50e2ae5101bc4f63f6bc95c31dc25c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.19 2014/07/15 10:01:09 jperkin Exp $
#
DISTNAME= TS-1.08
PKGNAME= libts-1.08
CATEGORIES= devel
MASTER_SITES= http://www.snake.net/software/TS/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}
COMMENT= Library of simple token-scanning routines
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/tokenscan
INSTALLATION_DIRS= include lib
USE_TOOLS+= groff
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
-e "s|/usr/local|${PREFIX}|"
do-install:
${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libts
nroff -ms ${WRKSRC}/tokenscan.ms \
>${DESTDIR}${PREFIX}/share/doc/libts/tokenscan.txt
.include "../../mk/bsd.pkg.mk"
|