| @@ -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 | |
8 | DISTNAME= clit18src | | 8 | DISTNAME= clit18src |
9 | PKGNAME= convertlit-1.8 | | 9 | PKGNAME= convertlit-1.8 |
10 | PKGREVISION= 1 | | 10 | PKGREVISION= 1 |
11 | CATEGORIES= textproc | | 11 | CATEGORIES= textproc |
12 | MASTER_SITES= ${CONVERTLIT_MASTER_SITES} | | 12 | MASTER_SITES= ${CONVERTLIT_MASTER_SITES} |
13 | EXTRACT_SUFX= .zip | | 13 | EXTRACT_SUFX= .zip |
14 | | | 14 | |
15 | MAINTAINER= pkgsrc-users@NetBSD.org | | 15 | MAINTAINER= pkgsrc-users@NetBSD.org |
16 | HOMEPAGE= ${CONVERTLIT_HOMEPAGE} | | 16 | HOMEPAGE= ${CONVERTLIT_HOMEPAGE} |
17 | COMMENT= Convert Microsoft Legal Reader format eBooks into open format | | 17 | COMMENT= Convert Microsoft Legal Reader format eBooks into open format |
18 | | | 18 | |
| | | 19 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 20 | |
19 | WRKSRC= ${WRKDIR} | | 21 | WRKSRC= ${WRKDIR} |
20 | BUILD_DIRS= lib clit18 | | 22 | BUILD_DIRS= lib clit18 |
21 | MAKE_FILE= makefile | | 23 | MAKE_FILE= makefile |
22 | USE_TOOLS+= gmake | | 24 | USE_TOOLS+= gmake |
23 | | | 25 | |
24 | SUBST_CLASSES+= d2u | | 26 | SUBST_CLASSES+= d2u |
25 | SUBST_STAGE.d2u= pre-configure | | 27 | SUBST_STAGE.d2u= pre-configure |
26 | SUBST_MESSAGE.d2u= Stripping CRLF line ends. | | 28 | SUBST_MESSAGE.d2u= Stripping CRLF line ends. |
27 | SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c | | 29 | SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c |
28 | SUBST_FILTER_CMD.d2u= ${TR} -d '\r' | | 30 | SUBST_FILTER_CMD.d2u= ${TR} -d '\r' |
29 | | | 31 | |
30 | RESTRICTED= Possible legal problems | | 32 | RESTRICTED= Possible legal problems |
31 | NO_SRC_ON_FTP= ${RESTRICTED} | | 33 | NO_SRC_ON_FTP= ${RESTRICTED} |
32 | NO_BIN_ON_FTP= ${RESTRICTED} | | 34 | NO_BIN_ON_FTP= ${RESTRICTED} |
33 | NO_SRC_ON_CDROM= ${RESTRICTED} | | 35 | NO_SRC_ON_CDROM= ${RESTRICTED} |
34 | NO_BIN_ON_CDROM= ${RESTRICTED} | | 36 | NO_BIN_ON_CDROM= ${RESTRICTED} |
35 | | | 37 | |
| | | 38 | INSTALLATION_DIRS= bin |
| | | 39 | |
36 | do-install: | | 40 | do-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" |