From owner-svn-ports-all@FreeBSD.ORG Mon May 27 13:59:06 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 658A6AD3; Mon, 27 May 2013 13:59:06 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3E314612; Mon, 27 May 2013 13:59:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RDx61e014593; Mon, 27 May 2013 13:59:06 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RDx6xG014592; Mon, 27 May 2013 13:59:06 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305271359.r4RDx6xG014592@svn.freebsd.org> From: Boris Samorodov Date: Mon, 27 May 2013 13:59:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319244 - head/sysutils/libretto-config X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 13:59:06 -0000 Author: bsam Date: Mon May 27 13:59:05 2013 New Revision: 319244 URL: http://svnweb.freebsd.org/changeset/ports/319244 Log: . trim Makefile headers; . remove custom DOCDIR and use standard DOCSDIR; . define PLIST_FILES and PORTDOCS at Makefile; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . do not mute install command; . remove pkg-plist (hm, seems the port has never worked at NOPORTDOCS case). Deleted: head/sysutils/libretto-config/pkg-plist Modified: head/sysutils/libretto-config/Makefile Modified: head/sysutils/libretto-config/Makefile ============================================================================== --- head/sysutils/libretto-config/Makefile Mon May 27 13:49:08 2013 (r319243) +++ head/sysutils/libretto-config/Makefile Mon May 27 13:59:05 2013 (r319244) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libretto-config -# Date created: 19 Nov 1998 -# Whom: Shigeyuki FUKUSHIMA -# +# Created by: Shigeyuki FUKUSHIMA # $FreeBSD$ -# PORTNAME= libretto-config PORTVERSION= 1.0.b5 @@ -18,21 +14,26 @@ COMMENT= Libretto BIOS Setting Program ONLY_FOR_ARCHS= i386 WRKSRC= ${WRKDIR}/libapm -DOCDIR= ${PREFIX}/share/doc/${PORTNAME} +PLIST_FILES= sbin/libretto-config MAN8= ${PORTNAME}.8 MANLANG= . ja +OPTIONS_DEFINE= DOCS +PORTDOCS= * + +.include + post-install: # install japanese manpage also :-) - @${INSTALL_MAN} ${WRKSRC}/libapm-j.man ${PREFIX}/man/ja/man8/${PORTNAME}.8 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCDIR} - @${INSTALL_DATA} ${WRKSRC}/README-e.1st ${DOCDIR}/README.1st - @${INSTALL_DATA} ${WRKSRC}/APM-EXBIOS-e.txt ${DOCDIR}/APM-EXBIOS.txt - @${MKDIR} ${DOCDIR}/ja - @${INSTALL_DATA} ${WRKSRC}/README-j.1st ${DOCDIR}/ja/README.1st - @${INSTALL_DATA} ${WRKSRC}/APM-EXBIOS-j.txt ${DOCDIR}/ja/APM-EXBIOS.txt + ${INSTALL_MAN} ${WRKSRC}/libapm-j.man ${PREFIX}/man/ja/man8/${PORTNAME}.8 +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README-e.1st ${DOCSDIR}/README.1st + ${INSTALL_DATA} ${WRKSRC}/APM-EXBIOS-e.txt ${DOCSDIR}/APM-EXBIOS.txt + @${MKDIR} ${DOCSDIR}/ja + ${INSTALL_DATA} ${WRKSRC}/README-j.1st ${DOCSDIR}/ja/README.1st + ${INSTALL_DATA} ${WRKSRC}/APM-EXBIOS-j.txt ${DOCSDIR}/ja/APM-EXBIOS.txt .endif .include