aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--palm/palmpower/Makefile16
-rw-r--r--palm/palmpower/pkg-descr2
2 files changed, 15 insertions, 3 deletions
diff --git a/palm/palmpower/Makefile b/palm/palmpower/Makefile
index e00a82481db8..2c5e2069bab0 100644
--- a/palm/palmpower/Makefile
+++ b/palm/palmpower/Makefile
@@ -8,7 +8,13 @@
PORTNAME= palmpower
PORTVERSION= 1.0.2
CATEGORIES= palm
-MASTER_SITES= http://www.fh-wilhelmshaven.de/~akcaagaa/palmpower/files/
+#
+# The original MASTER_SITE has disappeared:
+# http://www.fh-wilhelmshaven.de/~akcaagaa/palmpower/files/
+# It can be downloaded via
+# http://mxlab.com/files/palm/devel/
+# but that site doesn't allow direct HTTP transfers.
+#
MAINTAINER= roman@xpert.com
@@ -17,6 +23,12 @@ USE_GMAKE= yes
MAN1= pilotdis.1
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}.${EXTRACT_SUFX})
+BROKEN= "Please fetch http://mxlab.com/files/palm/devel/palmpower-1.0.2.tar.gz manually and store it in ${DISTDIR}"
+.endif
+
post-build:
cd ${WRKSRC}/utils; ${CC} ${CFLAGS} -o splitprc splitprc.c
@@ -26,4 +38,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/utils/splitprc ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/pilotdis.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/palm/palmpower/pkg-descr b/palm/palmpower/pkg-descr
index fc16f2730211..96403c464c84 100644
--- a/palm/palmpower/pkg-descr
+++ b/palm/palmpower/pkg-descr
@@ -5,6 +5,6 @@ pilotdis - PalmOS binaries disassembler
pila - PalmOS assembler, resource compiler and linker
splitprc - PRC file splitter
-WWW: http://www.fh-wilhelmshaven.de/~akcaagaa/palmpower/
+Old WWW-site: http://www.fh-wilhelmshaven.de/~akcaagaa/palmpower/
--Roman Shterenzon <roman@xpert.com>