Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 14:03:53 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404643 - head/x11/xcalib
Message-ID:  <201512281403.tBSE3rrk015223@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 28 14:03:53 2015
New Revision: 404643
URL: https://svnweb.freebsd.org/changeset/ports/404643

Log:
  - Add LICENSE
  - Switch to options helpers

Deleted:
  head/x11/xcalib/pkg-plist
Modified:
  head/x11/xcalib/Makefile
  head/x11/xcalib/pkg-descr

Modified: head/x11/xcalib/Makefile
==============================================================================
--- head/x11/xcalib/Makefile	Mon Dec 28 14:03:37 2015	(r404642)
+++ head/x11/xcalib/Makefile	Mon Dec 28 14:03:53 2015	(r404643)
@@ -10,24 +10,36 @@ DISTNAME=	${PORTNAME}-source-${PORTVERSI
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program for display calibration of X11-Servers with ICC profiles
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gmake
+USE_XORG=	x11 xext sm xxf86vm
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 PORTDOCS=	README README.profilers
-USE_XORG=	x11 xext sm xxf86vm
-USES=		gmake
+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

Modified: head/x11/xcalib/pkg-descr
==============================================================================
--- head/x11/xcalib/pkg-descr	Mon Dec 28 14:03:37 2015	(r404642)
+++ head/x11/xcalib/pkg-descr	Mon Dec 28 14:03:53 2015	(r404643)
@@ -12,4 +12,4 @@ from your country/area to:
   95100 Selb
   GERMANY
 
-WWW: http://xcalib.sourceforge.net
+WWW: http://xcalib.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512281403.tBSE3rrk015223>