Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 16:47:39 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306205 - head/sysutils/gapcmon
Message-ID:  <201210201647.q9KGldYT068518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sat Oct 20 16:47:38 2012
New Revision: 306205
URL: http://svn.freebsd.org/changeset/ports/306205

Log:
  - Convert to new options framework
  - Add specific pkgconf build dependency
  - Add LICENSE (GPLv2)
  - Trim Makefile header
  
  Approved by:	makc, avilla (mentors, implicit)
  Feature safe:	yes

Modified:
  head/sysutils/gapcmon/Makefile   (contents, props changed)

Modified: head/sysutils/gapcmon/Makefile
==============================================================================
--- head/sysutils/gapcmon/Makefile	Sat Oct 20 16:35:47 2012	(r306204)
+++ head/sysutils/gapcmon/Makefile	Sat Oct 20 16:47:38 2012	(r306205)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	gapcmon
-# Date Created:				Sun, May 28, 2006
-# Whom:					Jason E. Hale <bsdkaffee@gmail.com>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	gapcmon
 PORTVERSION=	0.8.9
@@ -14,20 +9,25 @@ MASTER_SITES=	SF
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	Monitor apcupsd with GTK+2 GUI
 
+LICENSE=	GPLv2
+
 SUB_FILES=	pkg-message
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gconf2
+USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog INSTALL README
 
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${REINPLACE_CMD} 's|install-gapcmondocDATA \\|\\|' \
 		${WRKSRC}/Makefile.in
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif



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