aboutsummaryrefslogtreecommitdiff
path: root/lang/pm3-base
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-24 17:05:37 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-24 17:05:37 +0000
commit154912c7cab5a93520d120f2d63421b805256b70 (patch)
tree990ad618b83d73d95b36a5940b0cfdbf2b507b0a /lang/pm3-base
parent47f4add9c79c39493c61b3b9165b6b2f7e4044d9 (diff)
downloadports-154912c7cab5a93520d120f2d63421b805256b70.tar.gz
ports-154912c7cab5a93520d120f2d63421b805256b70.zip
Notes
Diffstat (limited to 'lang/pm3-base')
-rw-r--r--lang/pm3-base/Makefile12
-rw-r--r--lang/pm3-base/pkg-plist2
2 files changed, 5 insertions, 9 deletions
diff --git a/lang/pm3-base/Makefile b/lang/pm3-base/Makefile
index 48c9e54c59ba..c340f9154ed9 100644
--- a/lang/pm3-base/Makefile
+++ b/lang/pm3-base/Makefile
@@ -15,7 +15,7 @@ DISTFILES= ${BOOTSTRAP} \
pm3-${PORTVERSION}-src.tar.bz2
MAINTAINER= ports@FreeBSD.org
-COMMENT= Compiler and base libraries of the Polytechnique Montreal Modula-3 distribution
+COMMENT= Compiler and base libs of Polytechnique Montreal Modula-3 distribution
DIST_SUBDIR= pm3
WRKSRC= ${WRKDIR}/pm3-base-${PORTVERSION}
@@ -69,19 +69,15 @@ TARGET= FBSD_ALPHA
TARGETDIR= fbsd-alpha
WORDSIZE= 64
BOOTSTRAP= pm3-${PORTVERSION}-${TARGET}-boot.tar.bz2
+.else
+IGNORE= Not supported on ${ARCH}
.endif
-EXTRA_PATCHES!= echo ${PATCHDIR}/${TARGET}-patch-*
+EXTRA_PATCHES!= ${ECHO_CMD} ${PATCHDIR}/${TARGET}-patch-*
.if ${EXTRA_PATCHES} == ${PATCHDIR}/${TARGET}-patch-*
.undef EXTRA_PATCHES
.endif
-.if !defined(TARGET)
-pre-fetch:
- @${ECHO_MSG} "Cannot determine M3 target for this architecture"
- @${FALSE}
-.endif
-
post-patch:
@${CP} ${WRKSRC}/libs/m3core/src/runtime/${TARGET}/RTHeapDepC.c \
${WRKSRC}/boot-${TARGET}/m3core/${TARGET}/RTHeapDepC.c
diff --git a/lang/pm3-base/pkg-plist b/lang/pm3-base/pkg-plist
index 93438e3a0a69..9a84320dd89a 100644
--- a/lang/pm3-base/pkg-plist
+++ b/lang/pm3-base/pkg-plist
@@ -901,7 +901,7 @@ lib/m3/pkg/tempfiles/%%TARGET%%/libTempFiles.a
lib/m3/pkg/tempfiles/%%TARGET%%/libTempFiles.m3x
lib/m3/pkg/tempfiles/%%TARGET%%/libTempFiles.so
lib/m3/pkg/tempfiles/src/TempFiles.i3
-share/pm3-base/COPYRIGHT
+%%DATADIR%%/COPYRIGHT
@dirrm share/pm3-base
@dirrm lib/m3/pkg/tempfiles/src
@dirrm lib/m3/pkg/tempfiles/%%TARGET%%