summaryrefslogtreecommitdiffstats
path: root/editors/linux-sublime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/linux-sublime/Makefile')
-rw-r--r--editors/linux-sublime/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/editors/linux-sublime/Makefile b/editors/linux-sublime/Makefile
index a739f04..2430f7c 100644
--- a/editors/linux-sublime/Makefile
+++ b/editors/linux-sublime/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sublime
PORTVERSION= 2.0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors linux
MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/
DISTNAME= Sublime%20Text%202.0.2
@@ -12,22 +12,16 @@ PKGNAMEPREFIX= linux-
MAINTAINER= johannes@perceivon.net
COMMENT= Sublime Text is a sophisticated text editor for code, markup and prose
-USES= tar:bzip2
INSTALLS_ICONS= yes
+USES= linux tar:bzip2
+USE_LINUX= xorglibs gtk2
WRKSRC= ${WRKDIR}/"Sublime Text 2"
NO_BUILD=
-STRIP= # don't strip linux binaries.
SUB_FILES= sublime
CONFLICTS_INSTALL= linux-sublime3-[0-9]*
-USE_LINUX= c6
-USE_LINUX_APPS= xorglibs gtk2
-
-post-patch:
- ${BRANDELF} -t Linux ${WRKSRC}/sublime_text
-
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/
@@ -44,6 +38,6 @@ do-install:
@${RM} -rf ${WRKSRC}/Icon/
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text
- @${INSTALL} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
+ @${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
.include <bsd.port.mk>
OpenPOWER on IntegriCloud