ports/175192: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
Yasuhiro KIMURA
yasu at utahime.org
Fri Jan 11 06:30:02 UTC 2013
>Number: 175192
>Category: ports
>Synopsis: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 11 06:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Fri Jan 11 10:39:45 JST 2013 xxxx amd64
>Description:
OptionsNG-fy and trim makefile header.
>How-To-Repeat:
>Fix:
--- patch-c-sig begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 310216)
+++ Makefile (working copy)
@@ -1,9 +1,4 @@
-# New ports collection makefile for: c-sig
-# Date created: 30 May 2004
-# Whom: KIMURA Yasuhiro <yasu at utahime.org>
-#
# $FreeBSD$
-#
PORTNAME= c-sig
PORTVERSION= 3.8
@@ -20,15 +15,21 @@
USE_EMACS= yes
NO_WRKSUBDIR= yes
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+.include <bsd.port.options.mk>
+
do-build:
cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile c-sig.el
do-install:
${MKDIR} ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/c-sig.el* ${LISPDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for file in c-sig-eng.faq c-sig-eng.man c-sig-jp.faq c-sig-jp.man
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
--- patch-c-sig ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list