summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-08-29 12:31:43 +0000
committerume <ume@FreeBSD.org>2004-08-29 12:31:43 +0000
commitf6fadb771fb358c402c607f7bc5b5293e8ff4be8 (patch)
treef37ea8c9e1cbb39675e3ad7a8272e34d2233af6b /print
parent46c33d6c8697b4a30c25f2dc5dede9ad6c0d1fb4 (diff)
downloadFreeBSD-ports-f6fadb771fb358c402c607f7bc5b5293e8ff4be8.zip
FreeBSD-ports-f6fadb771fb358c402c607f7bc5b5293e8ff4be8.tar.gz
simplify determination of MASTER_SITE_SUBDIR.
Diffstat (limited to 'print')
-rw-r--r--print/pips800/Makefile.pips23
1 files changed, 7 insertions, 16 deletions
diff --git a/print/pips800/Makefile.pips b/print/pips800/Makefile.pips
index 721dc45..b352a99 100644
--- a/print/pips800/Makefile.pips
+++ b/print/pips800/Makefile.pips
@@ -21,7 +21,7 @@ PIPS_LEVEL!= /usr/bin/printf "%d%02d" ${PIPS_MAJOR} ${PIPS_MINOR}
.if ${PIPS_LEVEL} < 206
DIST_TYPE= lpr
.endif
-DIST_TYPE?= lpr_and_caps
+DIST_TYPE?= ""
PRTTYPE_PREFIX= ${PRTYPE:C|^([^0-9]+)[0-9]+.*$|\1|}
@@ -53,24 +53,15 @@ MASTER_SITE_SUBDIR= pm750c_2000clpr
MASTER_SITE_SUBDIR= ${PRTYPE}_20
.elif ${PRTYPE} == 970
MASTER_SITE_SUBDIR= ${PRT_MODEL}
-.elif ${PRTYPE} == 3500
-MASTER_SITE_SUBDIR= ${PRT_MODEL:L}
-.elif ${PRTYPE} == 4000 || ${PRTTYPE_PREFIX} == g
-MASTER_SITE_SUBDIR= ${PRT_MODEL:L}lpr
-.elif ${PRTTYPE_PREFIX} == v
-.if ${DIST_TYPE} == cups
-MASTER_SITE_SUBDIR= ${PRT_MODEL:L}cups
-.else
-MASTER_SITE_SUBDIR= ${PRT_MODEL:L}lpr
-.endif
.elif ${PIPS_LEVEL} == 201
MASTER_SITE_SUBDIR= ${PRTYPE}_21
-.elif ${DIST_TYPE} == cups
-MASTER_SITE_SUBDIR= ${PRTYPE}Ccups
-.elif ${PIPS_MAJOR} >= 2 && ${DIST_TYPE} == lpr
-MASTER_SITE_SUBDIR= ${PRTYPE}Clpr
-.else
+.elif ${PIPS_MAJOR} >= 2 && (${DIST_TYPE} == cups || ${DIST_TYPE} == lpr) && \
+ ${PRTYPE} != v700
+MASTER_SITE_SUBDIR= ${PRTYPE}C${DIST_TYPE}
+.elif ${DIST_TYPE} != cups && ${DIST_TYPE} != lpr
MASTER_SITE_SUBDIR= ${PRT_MODEL:L}lpr
+.else
+MASTER_SITE_SUBDIR= ${PRT_MODEL:L}${DIST_TYPE}
.endif
MAINTAINER= ume@FreeBSD.org
OpenPOWER on IntegriCloud