aboutsummaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-12-13 23:41:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-12-13 23:41:59 +0000
commitfe769fcec459836f4d2f5fffc4952424bb2a8c98 (patch)
tree1c1e1ae5034ae79f9362a0e90755c75e26065dd8 /editors/vim
parent055a2a5107a0154f09ea52272e26733c194ed427 (diff)
downloadports-fe769fcec459836f4d2f5fffc4952424bb2a8c98.tar.gz
ports-fe769fcec459836f4d2f5fffc4952424bb2a8c98.zip
Notes
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 6ce9d805f2fb..23dbf347f7a9 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -9,10 +9,11 @@
PORTNAME?= vim
PATCHLEVEL= 168
PORTVERSION= 7.0.${PATCHLEVEL}
+RELEASE= vim-${PORTVERSION:C/\.[0-9a-z]*$//}
PORTREVISION?= 0
CATEGORIES?= editors
MASTER_SITES= ${MASTER_SITE_VIM}
-DISTNAME= vim-${PORTVERSION:C/\.[0-9a-z]*$//}
+DISTFILES= ${RELEASE}${EXTRACT_SUFX}
PATCH_SITES= ${MASTER_SITES:S|unix|patches/${PORTVERSION:C/\.[0-9a-z]*$//}|}
PATCHFILES!= /usr/bin/jot -s " " -w ${PORTVERSION:C/\.[0-9]*$//}.%03d \
@@ -47,7 +48,7 @@ PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST
#PATCH_DIST_ARGS= -t
MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
ALL_TARGET= #
-_DATADIR= ${DISTNAME:S/-//g:S/.//g}
+_DATADIR= ${RELEASE:S/-//g:S/.//g}
DATADIR= ${PREFIX}/share/vim/${_DATADIR}
PLIST_SUB= VIM_VER=${_DATADIR}
MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
@@ -142,10 +143,10 @@ USE_ICONV= yes
.endif
.if defined(WITH_LANG)
-LANG_FILE= ${DISTNAME}-lang.tar.gz
+LANG_FILE= ${RELEASE}-lang.tar.gz
DISTFILES+= ${LANG_FILE}:lang_file
MASTER_SITES+= ${MASTER_SITE_VIM:S|unix/|extra/:lang_file|}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${RELEASE}${EXTRACT_SUFX}
USE_GETTEXT= yes
.endif