1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/extipl/Makefile
Dennis Herrmann 902ccede05 - Update MASTER_SITES/WWW
- Utilize PLIST_FILES/PORTDOCS

PR:		ports/155800
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-03-23 16:37:19 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: extipl
# Date created: 8 January 2001
# Whom: KIMURA Takamichi <takamiti@tsden.org>
#
# $FreeBSD$
#
PORTNAME= extipl
PORTVERSION= 5.04
CATEGORIES= sysutils
MASTER_SITES= SFJP/${PORTNAME}/2166
MAINTAINER= ports@FreeBSD.org
COMMENT= Partition-selectable boot loader for IBM-PC/AT compatibles
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN8= ${PORTNAME}.8
PORTDOCS= *
PLIST_FILES= sbin/${PORTNAME}
post-patch:
cd ${WRKSRC}; \
${SED} -e 's|!!DOCDIR!!|${DOCSDIR}|g' \
${PORTNAME}.8.in > ${PORTNAME}.8; \
${REINPLACE_CMD} -e 's/^(CC)\t=/$$1?=/;' \
-e 's/(DIR)[\t]*[?]=/$$1=/;' Makefile
do-install:
${INSTALL_PROGRAM} -m 700 ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/English
${INSTALL_DATA} ${WRKSRC}/../doc/English/*.txt ${DOCSDIR}/English
@${MKDIR} ${DOCSDIR}/Japanese
${INSTALL_DATA} ${WRKSRC}/../doc/Japanese/*.txt ${DOCSDIR}/Japanese
.endif
.include <bsd.port.mk>