aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-09 08:57:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-09 08:57:47 +0800
commit659e2d647c27ed91fb33ae53e8de8066a47ea05f (patch)
tree1ffd6c703ffcc2bf4f9ab027a505733dbb0fd511
parent4f6ee4a265901675402a3d57e037deda0c322b13 (diff)
downloadfreebsd-ports-gnome-659e2d647c27ed91fb33ae53e8de8066a47ea05f.tar.gz
freebsd-ports-gnome-659e2d647c27ed91fb33ae53e8de8066a47ea05f.tar.zst
freebsd-ports-gnome-659e2d647c27ed91fb33ae53e8de8066a47ea05f.zip
- Simplify MASTER_SITES
- Clarify LICENSE - Fix permissions so it's possible to `make clean` as non-root - Silence post-patch - Strip binary
-rw-r--r--lang/gscheme/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/gscheme/Makefile b/lang/gscheme/Makefile
index 011942c131b4..5e62081fa9c6 100644
--- a/lang/gscheme/Makefile
+++ b/lang/gscheme/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.6
PORTREVISION= 3
CATEGORIES= lang gnustep
MASTER_SITES= http://www.gnustep.it/marko/GScheme/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+ LOCAL/dinoex
DISTNAME= GScheme
EXTRACT_SUFX= .tgz
DIST_SUBDIR= repacked
@@ -14,18 +13,22 @@ DIST_SUBDIR= repacked
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep-aware scheme interpreter
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
USE_GNUSTEP= yes
USE_GNUSTEP_BACK= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
+post-extract:
+ @${CHMOD} -R u+w ${WRKSRC}
+
post-patch:
- ${REINPLACE_CMD} -e 's|setMark:|setMarkScheme:|' \
+ @${REINPLACE_CMD} -e 's|setMark:|setMarkScheme:|' \
${WRKSRC}/SchemeTypes.h ${WRKSRC}/SchemeTypes.m
post-install:
${RM} -f ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Applications/GScheme.app/Resources/library.scm~
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/GScheme.app/GScheme
.include <bsd.port.mk>