diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-08-22 09:35:26 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-08-22 09:35:26 +0000 |
commit | c263f184b00a909a33560776082c540dac6d2831 (patch) | |
tree | 5aa1981b7d0809867ed3f976c6e0b71c6f16537b /x11/xcalib/Makefile | |
parent | bd1a679bbbbcc47c2f75f7412a7d1981445e32b8 (diff) |
- Update to 0.8
PR: 122186
Submitted by: Petr Holub <hopet@ics.muni.cz> (maintainer)
Notes
Notes:
svn path=/head/; revision=218984
Diffstat (limited to 'x11/xcalib/Makefile')
-rw-r--r-- | x11/xcalib/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile index 61b7949b38e6..164dfcd50b39 100644 --- a/x11/xcalib/Makefile +++ b/x11/xcalib/Makefile @@ -6,10 +6,9 @@ # PORTNAME= xcalib -PORTVERSION= 0.6 -PORTREVISION= 3 +PORTVERSION= 0.8 CATEGORIES= x11 graphics -MASTER_SITES= http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/ +MASTER_SITES= SF DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= hopet@ics.muni.cz @@ -18,15 +17,15 @@ COMMENT= A program for display calibration of X11-Servers with ICC profiles WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README README.profilers USE_XORG= x11 xext sm xxf86vm +USE_GMAKE= yes DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib -lm -lX11 -lXxf86vm -lXext CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${LOCALBASE}/include -do-build: - ${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o - ${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/icclib/icc.c -o ${WRKSRC}/icclib/icc.o - ${CC} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME} +post-patch: + @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ + ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |