- Add LICENSE
- Switch to options helpers
This commit is contained in:
parent
da7cc91207
commit
d06e5e9eeb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404643
@ -10,24 +10,36 @@ DISTNAME= ${PORTNAME}-source-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Program for display calibration of X11-Servers with ICC profiles
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
PORTDOCS= README README.profilers
|
||||
USE_XORG= x11 xext sm xxf86vm
|
||||
LICENSE= GPLv2 # or later
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gmake
|
||||
USE_XORG= x11 xext sm xxf86vm
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PORTDOCS= README README.profilers
|
||||
PORTEXAMPLES= *
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
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
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.icc ${STAGEDIR}${EXAMPLESDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
@ -12,4 +12,4 @@ from your country/area to:
|
||||
95100 Selb
|
||||
GERMANY
|
||||
|
||||
WWW: http://xcalib.sourceforge.net
|
||||
WWW: http://xcalib.sourceforge.net/
|
||||
|
@ -1,6 +0,0 @@
|
||||
bin/xcalib
|
||||
%%EXAMPLESDIR%%/bluish.icc
|
||||
%%EXAMPLESDIR%%/gamma_1_0.icc
|
||||
%%EXAMPLESDIR%%/gamma_2_2.icc
|
||||
%%EXAMPLESDIR%%/gamma_2_2_bright.icc
|
||||
%%EXAMPLESDIR%%/gamma_2_2_lowContrast.icc
|
Loading…
Reference in New Issue
Block a user