From 728528749a98d886c23b2485793588da524aa85f Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 13 Dec 2003 16:20:09 +0000 Subject: Change from using packaged install program and flags, to a do-install target in pkgsrc, in order to have a better chance of installing on Solaris and other platforms. --- devel/libts/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'devel/libts') diff --git a/devel/libts/Makefile b/devel/libts/Makefile index f51dc14d8f1..7cd47e86717 100644 --- a/devel/libts/Makefile +++ b/devel/libts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/12/11 20:16:10 ben Exp $ +# $NetBSD: Makefile,v 1.8 2003/12/13 16:20:09 ben Exp $ # DISTNAME= TS-1.08 @@ -14,10 +14,11 @@ COMMENT= Library of simple token-scanning routines post-patch: ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak ${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \ - -e "s|/usr/local|${PREFIX}|" \ - -e 's|install.sh|$${BSD_INSTALL}|' + -e "s|/usr/local|${PREFIX}|" -post-install: +do-install: + ${INSTALL_DATA} ${WRKSRC}/libtokenscan.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/tokenscan.h ${PREFIX}/include ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libts groff -Tascii -ms ${WRKSRC}/tokenscan.ms \ >${PREFIX}/share/doc/libts/tokenscan.txt -- cgit v1.2.3