1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

. 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).
This commit is contained in:
Boris Samorodov 2013-05-27 13:59:05 +00:00
parent 5a1752101a
commit 2a3a178112
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319244
2 changed files with 15 additions and 21 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: libretto-config
# Date created: 19 Nov 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $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 <bsd.port.options.mk>
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 <bsd.port.mk>

View File

@ -1,7 +0,0 @@
sbin/libretto-config
share/doc/libretto-config/README.1st
share/doc/libretto-config/APM-EXBIOS.txt
share/doc/libretto-config/ja/README.1st
share/doc/libretto-config/ja/APM-EXBIOS.txt
@dirrm share/doc/libretto-config/ja
@dirrm share/doc/libretto-config