aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-03-24 00:37:19 +0800
committerdhn <dhn@FreeBSD.org>2011-03-24 00:37:19 +0800
commit5a51723b247a242b32f8c2fe27534c9e68763344 (patch)
tree5c19fe7f9d37fdedf8c1c8e8caffa280ced12e66
parent710e52b9dd3e064b0ed99275934c159570fbf2bd (diff)
downloadfreebsd-ports-gnome-5a51723b247a242b32f8c2fe27534c9e68763344.tar.gz
freebsd-ports-gnome-5a51723b247a242b32f8c2fe27534c9e68763344.tar.zst
freebsd-ports-gnome-5a51723b247a242b32f8c2fe27534c9e68763344.zip
- Update MASTER_SITES/WWW
- Utilize PLIST_FILES/PORTDOCS PR: ports/155800 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--sysutils/extipl/Makefile23
-rw-r--r--sysutils/extipl/pkg-descr2
-rw-r--r--sysutils/extipl/pkg-plist11
3 files changed, 17 insertions, 19 deletions
diff --git a/sysutils/extipl/Makefile b/sysutils/extipl/Makefile
index 402f09fd022c..1f79c8476247 100644
--- a/sysutils/extipl/Makefile
+++ b/sysutils/extipl/Makefile
@@ -8,27 +8,36 @@
PORTNAME= extipl
PORTVERSION= 5.04
CATEGORIES= sysutils
-MASTER_SITES= ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ \
- http://www.tsden.org/takamiti/extipl/archs/
+MASTER_SITES= SFJP/${PORTNAME}/2166
MAINTAINER= ports@FreeBSD.org
COMMENT= Partition-selectable boot loader for IBM-PC/AT compatibles
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-MAN8= extipl.8
-MANCOMPRESSED= yes
+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>
diff --git a/sysutils/extipl/pkg-descr b/sysutils/extipl/pkg-descr
index 8b395fbf5ef6..7bbda76b2fc1 100644
--- a/sysutils/extipl/pkg-descr
+++ b/sysutils/extipl/pkg-descr
@@ -2,4 +2,4 @@ Extipl is a partition-selectable boot loader/installer which
makes coexistence of several operating systems on your machine.
This program works only IBM-PC/AT compatible computers.
-WWW: http://www.tsden.org/takamiti/extipl/
+WWW: http://extipl.sourceforge.jp/
diff --git a/sysutils/extipl/pkg-plist b/sysutils/extipl/pkg-plist
deleted file mode 100644
index 0a87ba63cfd8..000000000000
--- a/sysutils/extipl/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-sbin/extipl
-share/doc/extipl/English/extipl.txt
-share/doc/extipl/English/techical.txt
-share/doc/extipl/English/scorpius.txt
-share/doc/extipl/Japanese/extipl.txt
-share/doc/extipl/Japanese/techical.txt
-share/doc/extipl/Japanese/scorpius.txt
-@dirrm share/doc/extipl/English
-@dirrm share/doc/extipl/Japanese
-@dirrm share/doc/extipl
-@unexec rm -f %D/man/cat8/extipl.8.gz