Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xcalib |
8 |
PORTNAME= xcalib |
9 |
PORTVERSION= 0.6 |
9 |
PORTVERSION= 0.8 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= x11 graphics |
10 |
CATEGORIES= x11 graphics |
12 |
MASTER_SITES= http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/ |
11 |
MASTER_SITES= http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/ |
13 |
DISTNAME= ${PORTNAME}-source-${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}-source-${PORTVERSION} |
Lines 18-33
Link Here
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
17 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
19 |
PORTDOCS= README README.profilers |
18 |
PORTDOCS= README README.profilers |
20 |
USE_XORG= x11 xext sm xxf86vm |
19 |
USE_XORG= x11 xext sm xxf86vm |
|
|
20 |
USE_GMAKE= yes |
21 |
|
21 |
|
22 |
DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX |
22 |
DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX |
23 |
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lX11 -lXxf86vm -lXext |
23 |
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lX11 -lXxf86vm -lXext |
24 |
CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${X11BASE}/include |
24 |
CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${X11BASE}/include |
25 |
|
25 |
|
26 |
do-build: |
|
|
27 |
${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o |
28 |
${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/icclib/icc.c -o ${WRKSRC}/icclib/icc.o |
29 |
${CC} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME} |
30 |
|
31 |
do-install: |
26 |
do-install: |
32 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
33 |
${MKDIR} ${EXAMPLESDIR} |
28 |
${MKDIR} ${EXAMPLESDIR} |