diff options
author | ume <ume@FreeBSD.org> | 2004-08-29 01:18:38 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-08-29 01:18:38 +0800 |
commit | f7ba9cbb3e9c3c59ec8137209615d032a8114d3f (patch) | |
tree | ccdf1f6a930a4a6d4a7994800e1507f96da5bcf3 /print/pips800 | |
parent | 65b78c997a6035d606b806e1c3b1172a37f1d7d4 (diff) | |
download | freebsd-ports-gnome-f7ba9cbb3e9c3c59ec8137209615d032a8114d3f.tar.gz freebsd-ports-gnome-f7ba9cbb3e9c3c59ec8137209615d032a8114d3f.tar.zst freebsd-ports-gnome-f7ba9cbb3e9c3c59ec8137209615d032a8114d3f.zip |
preparation for EPSON Stylus Color Series.
Diffstat (limited to 'print/pips800')
-rw-r--r-- | print/pips800/Makefile.pips | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/print/pips800/Makefile.pips b/print/pips800/Makefile.pips index cbaa23f6a970..abdbe786ce7f 100644 --- a/print/pips800/Makefile.pips +++ b/print/pips800/Makefile.pips @@ -23,7 +23,10 @@ DIST_TYPE= lpr DIST_TYPE?= lpr_and_caps .endif -.if ${PRTYPE} == 730 +PRTTYPE_PREFIX= ${PRTYPE:C|^([^0-9]+)[0-9]+.*$|\1|} +.if ${PRTTYPE_PREFIX} == -sc +MASTER_SITE_SUBDIR= ${PRTYPE:C|^-(sc[0-9]+)s$|\1|} +.elif ${PRTYPE} == 730 MASTER_SITE_SUBDIR= ${PRTYPE} .elif ${PRTYPE} == "750_2000" MASTER_SITE_SUBDIR= pm750c_2000clpr @@ -37,7 +40,7 @@ MASTER_SITE_SUBDIR= pm${PRTYPE}c MASTER_SITE_SUBDIR= pm${PRTYPE}pxlpr .elif ${PRTYPE} == g700 || ${PRTYPE} == g800 MASTER_SITE_SUBDIR= pm${PRTYPE}lpr -.elif ${PRTYPE} == v500 || ${PRTYPE} == v600 || ${PRTYPE} == v700 +.elif ${PRTTYPE_PREFIX} == v .if ${DIST_TYPE} == cups MASTER_SITE_SUBDIR= px${PRTYPE}cups .else @@ -45,7 +48,6 @@ MASTER_SITE_SUBDIR= px${PRTYPE}lpr .endif .elif ${PIPS_LEVEL} == 0201 MASTER_SITE_SUBDIR= ${PRTYPE}_21 -#.elif ${PRTYPE} == 740 || ${PRTYPE} == 870 .elif ${DIST_TYPE} == cups MASTER_SITE_SUBDIR= ${PRTYPE}Ccups .elif ${PIPS_MAJOR} >= 2 && ${DIST_TYPE} == lpr @@ -133,7 +135,7 @@ CPPFLAGS+= ${PTHREAD_CFLAGS} CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKE_ENV+= SED="${SED}" -.if defined(INTERNATIONAL_PRODUCTS) +.if ${PRTTYPE_PREFIX} == -sc LIB_FILE= lib${PRTYPE:S/^-//}.so MODEL_FILE= ekpm${PRTYPE:S/^-//}.ppd PRT_MODEL= ${PRTYPE:U:S/^-//} @@ -154,11 +156,11 @@ PRT_MODEL= PM820CUG LIB_FILE= libpm${PRTYPE}px.so MODEL_FILE= ekpm${PRTYPE}px.ppd PRT_MODEL= PM${PRTYPE}PX -.elif ${PRTYPE} == g700 || ${PRTYPE} == g800 +.elif ${PRTTYPE_PREFIX} == g LIB_FILE= libpm${PRTYPE}.so MODEL_FILE= ekpm${PRTYPE}.ppd PRT_MODEL= PM${PRTYPE:U} -.elif ${PRTYPE} == v500 || ${PRTYPE} == v600 || ${PRTYPE} == v700 +.elif ${PRTTYPE_PREFIX} == v LIB_FILE= libpx${PRTYPE}.so MODEL_FILE= ekpx${PRTYPE}.ppd PRT_MODEL= PX${PRTYPE:U} |