Tue Jul 7 22:22:58 2009 UTC ()
user-destdir support


(joerg)
diff -r1.6 -r1.7 pkgsrc/textproc/convertlit/Makefile

cvs diff -r1.6 -r1.7 pkgsrc/textproc/convertlit/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/convertlit/Makefile 2006/09/09 02:46:08 1.6
+++ pkgsrc/textproc/convertlit/Makefile 2009/07/07 22:22:58 1.7
@@ -1,40 +1,44 @@ @@ -1,40 +1,44 @@
1# $NetBSD: Makefile,v 1.6 2006/09/09 02:46:08 obache Exp $ 1# $NetBSD: Makefile,v 1.7 2009/07/07 22:22:58 joerg Exp $
2# 2#
3# In order to ensure compliance with U.S. and international law, please 3# In order to ensure compliance with U.S. and international law, please
4# do not modify this file to provide pointers to the source or homepage 4# do not modify this file to provide pointers to the source or homepage
5# for this software or submit any PRs telling us the contents of the 5# for this software or submit any PRs telling us the contents of the
6# HOMEPAGE or MASTER_SITES definitions in this Makefile. 6# HOMEPAGE or MASTER_SITES definitions in this Makefile.
7 7
8DISTNAME= clit18src 8DISTNAME= clit18src
9PKGNAME= convertlit-1.8 9PKGNAME= convertlit-1.8
10PKGREVISION= 1 10PKGREVISION= 1
11CATEGORIES= textproc 11CATEGORIES= textproc
12MASTER_SITES= ${CONVERTLIT_MASTER_SITES} 12MASTER_SITES= ${CONVERTLIT_MASTER_SITES}
13EXTRACT_SUFX= .zip 13EXTRACT_SUFX= .zip
14 14
15MAINTAINER= pkgsrc-users@NetBSD.org 15MAINTAINER= pkgsrc-users@NetBSD.org
16HOMEPAGE= ${CONVERTLIT_HOMEPAGE} 16HOMEPAGE= ${CONVERTLIT_HOMEPAGE}
17COMMENT= Convert Microsoft Legal Reader format eBooks into open format 17COMMENT= Convert Microsoft Legal Reader format eBooks into open format
18 18
 19PKG_DESTDIR_SUPPORT= user-destdir
 20
19WRKSRC= ${WRKDIR} 21WRKSRC= ${WRKDIR}
20BUILD_DIRS= lib clit18 22BUILD_DIRS= lib clit18
21MAKE_FILE= makefile 23MAKE_FILE= makefile
22USE_TOOLS+= gmake 24USE_TOOLS+= gmake
23 25
24SUBST_CLASSES+= d2u 26SUBST_CLASSES+= d2u
25SUBST_STAGE.d2u= pre-configure 27SUBST_STAGE.d2u= pre-configure
26SUBST_MESSAGE.d2u= Stripping CRLF line ends. 28SUBST_MESSAGE.d2u= Stripping CRLF line ends.
27SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c 29SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c
28SUBST_FILTER_CMD.d2u= ${TR} -d '\r' 30SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
29 31
30RESTRICTED= Possible legal problems 32RESTRICTED= Possible legal problems
31NO_SRC_ON_FTP= ${RESTRICTED} 33NO_SRC_ON_FTP= ${RESTRICTED}
32NO_BIN_ON_FTP= ${RESTRICTED} 34NO_BIN_ON_FTP= ${RESTRICTED}
33NO_SRC_ON_CDROM= ${RESTRICTED} 35NO_SRC_ON_CDROM= ${RESTRICTED}
34NO_BIN_ON_CDROM= ${RESTRICTED} 36NO_BIN_ON_CDROM= ${RESTRICTED}
35 37
 38INSTALLATION_DIRS= bin
 39
36do-install: 40do-install:
37 ${INSTALL_PROGRAM} ${WRKSRC}/clit18/clit ${PREFIX}/bin/convertlit 41 ${INSTALL_PROGRAM} ${WRKSRC}/clit18/clit ${DESTDIR}${PREFIX}/bin/convertlit
38 42
39.include "../../math/ltm/buildlink3.mk" 43.include "../../math/ltm/buildlink3.mk"
40.include "../../mk/bsd.pkg.mk" 44.include "../../mk/bsd.pkg.mk"