diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-08-28 21:46:11 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-08-28 21:46:11 +0000 |
commit | 25b5c362f67a78035819868e7230d8f2bcf4ef4f (patch) | |
tree | b9d377236a663981ddd59919aaba82564bb42ca7 /print/pips800/Makefile.pips | |
parent | 3d18d6c00f8355cf8dd820b2eebd31ea1606a873 (diff) |
more for PX-G900.
Notes
Notes:
svn path=/head/; revision=117530
Diffstat (limited to 'print/pips800/Makefile.pips')
-rw-r--r-- | print/pips800/Makefile.pips | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/print/pips800/Makefile.pips b/print/pips800/Makefile.pips index 714bdf90ba0b..80e0524c30b1 100644 --- a/print/pips800/Makefile.pips +++ b/print/pips800/Makefile.pips @@ -38,7 +38,9 @@ MASTER_SITE_SUBDIR= PM${PRTYPE}C MASTER_SITE_SUBDIR= pm${PRTYPE}c .elif ${PRTYPE} == 4000 MASTER_SITE_SUBDIR= pm${PRTYPE}pxlpr -.elif ${PRTYPE} == g700 || ${PRTYPE} == g800 +.elif ${PRTYPE} == g900 +MASTER_SITE_SUBDIR= px${PRTYPE}lpr +.elif ${PRTTYPE_PREFIX} == g MASTER_SITE_SUBDIR= pm${PRTYPE}lpr .elif ${PRTTYPE_PREFIX} == v .if ${DIST_TYPE} == cups @@ -118,6 +120,9 @@ LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base \ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-common \ ${FILESDIR}/extra-patch-2.6.2-src \ ${FILESDIR}/extra-patch-2.6.2-src-cups +.if ${PRTYPE} != g900 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-2.6.2-ekpstm::main.c +.endif BUILD_DEPEND+= ${LOCALBASE}/bin/autoconf253:${PORTSDIR}/devel/autoconf253 LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base \ iconv.3:${PORTSDIR}/converters/libiconv @@ -156,14 +161,14 @@ PRT_MODEL= PM820CUG LIB_FILE= libpm${PRTYPE}px.so MODEL_FILE= ekpm${PRTYPE}px.ppd PRT_MODEL= PM${PRTYPE}PX +.elif ${PRTTYPE_PREFIX} == v || ${PRTYPE} == g900 +LIB_FILE= libpx${PRTYPE}.so +MODEL_FILE= ekpx${PRTYPE}.ppd +PRT_MODEL= PX${PRTYPE:U} .elif ${PRTTYPE_PREFIX} == g LIB_FILE= libpm${PRTYPE}.so MODEL_FILE= ekpm${PRTYPE}.ppd PRT_MODEL= PM${PRTYPE:U} -.elif ${PRTTYPE_PREFIX} == v -LIB_FILE= libpx${PRTYPE}.so -MODEL_FILE= ekpx${PRTYPE}.ppd -PRT_MODEL= PX${PRTYPE:U} .else LIB_FILE= libpm${PRTYPE}c.so MODEL_FILE= ekpm${PRTYPE}c.ppd @@ -271,7 +276,7 @@ post-patch: ${WRKSRC}/setup/inst-post.sh .endif .if ${PIPS_LEVEL} >= 205 && ${DIST_TYPE} != cups - ${REINPLACE_CMD} -e 's,dtrfilter_LDADD = -ldl,dtrfilter_LDADD =,' \ + ${REINPLACE_CMD} -e '/^dtrfilter_LDADD =/s/-ldl //' \ ${WRKSRC}/dtrfilter/Makefile.in ${REINPLACE_CMD} -e 's,/etc/pipsrc,${PREFIX}&,' \ -e 's,/usr/local/EPKowa,${PREFIX}/libexec/pips,' \ @@ -283,6 +288,8 @@ post-patch: ${REINPLACE_CMD} -e 's;/dev/\(usb/\)\{0,1\}lp0;/dev/ulpt0;' \ -e 's,^SUBDIRS = rc$$,#&,' \ ${WRKSRC}/ekpd/Makefile.in + ${REINPLACE_CMD} -e 's,^\(enum Ink\)set\(_Id inkbox_get_inkid\),\1box\2,' \ + ${WRKSRC}/ekpstm/inkbox.h .if ${DIST_TYPE} != cups ${REINPLACE_CMD} -e 's,/etc/ekpdrc,${PREFIX}&,' ${WRKSRC}/src/setup.c .endif |