|
Lines 7-13
Link Here
|
| 7 |
|
7 |
|
| 8 |
PORTNAME= cupsddk |
8 |
PORTNAME= cupsddk |
| 9 |
PORTVERSION= 1.2.3 |
9 |
PORTVERSION= 1.2.3 |
| 10 |
PORTREVISION= 3 |
10 |
PORTREVISION= 4 |
| 11 |
CATEGORIES= print devel |
11 |
CATEGORIES= print devel |
| 12 |
MASTER_SITES= EASYSW |
12 |
MASTER_SITES= EASYSW |
| 13 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION} |
|
Lines 16-36
Link Here
|
| 16 |
MAINTAINER= ahze@FreeBSD.org |
16 |
MAINTAINER= ahze@FreeBSD.org |
| 17 |
COMMENT= CUPS Driver Development Kit |
17 |
COMMENT= CUPS Driver Development Kit |
| 18 |
|
18 |
|
| 19 |
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \ |
19 |
LIB_DEPENDS= cupsimage.2:${PORTSDIR}/print/cups-image |
| 20 |
cupsimage.2:${PORTSDIR}/print/cups-image |
|
|
| 21 |
|
20 |
|
| 22 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} |
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} |
| 23 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
|
|
23 |
USE_AUTOTOOLS= autoconf:262 |
| 24 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
| 25 |
|
25 |
|
|
|
26 |
OPTIONS= X11 "built with FLTK gui" on |
| 27 |
|
| 26 |
MAN1= commandtoescpx.1 commandtopclx.1 cupsprofile.1 ppdc.1 ppdhtml.1 \ |
28 |
MAN1= commandtoescpx.1 commandtopclx.1 cupsprofile.1 ppdc.1 ppdhtml.1 \ |
| 27 |
ppdi.1 ppdmerge.1 ppdpo.1 rastertoescpx.1 rastertopclx.1 |
29 |
ppdi.1 ppdmerge.1 ppdpo.1 rastertoescpx.1 rastertopclx.1 |
| 28 |
MAN5= ppdcfile.5 |
30 |
MAN5= ppdcfile.5 |
| 29 |
|
31 |
|
|
|
32 |
.include <bsd.port.pre.mk> |
| 33 |
|
| 30 |
.if defined(WITH_DEBUG) |
34 |
.if defined(WITH_DEBUG) |
| 31 |
CONFIGURE_ARGS+= --enable-debug |
35 |
CONFIGURE_ARGS+= --enable-debug |
| 32 |
.endif |
36 |
.endif |
| 33 |
|
37 |
|
|
|
38 |
.if defined(WITH_X11) |
| 39 |
LIB_DEPENDS+= fltk.1:${PORTSDIR}/x11-toolkits/fltk |
| 40 |
CONFIGURE_ARGS+= --with-fltk |
| 41 |
.endif |
| 42 |
|
| 34 |
post-patch: |
43 |
post-patch: |
| 35 |
@${REINPLACE_CMD} -e 's|/cupsprofile.ppm|${DATADIR:S,${PREFIX}/share,,}/cupsprofile.ppm|' \ |
44 |
@${REINPLACE_CMD} -e 's|/cupsprofile.ppm|${DATADIR:S,${PREFIX}/share,,}/cupsprofile.ppm|' \ |
| 36 |
${WRKSRC}/cups/cupsprofile.c |
45 |
${WRKSRC}/cups/cupsprofile.c |
|
Lines 40-43
Link Here
|
| 40 |
post-install: |
49 |
post-install: |
| 41 |
@${INSTALL_DATA} ${WRKSRC}/cups/cupsprofile.ppm ${DATADIR} |
50 |
@${INSTALL_DATA} ${WRKSRC}/cups/cupsprofile.ppm ${DATADIR} |
| 42 |
|
51 |
|
| 43 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.post.mk> |