-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
35 lines (26 loc) · 872 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME= xxd
DISTVERSIONPREFIX= v
DISTVERSION= ${VIM_DISTVERSION}
CATEGORIES= sysutils
MAINTAINER= gmarco@giovannelli.it
COMMENT= Hexdump and reverse hexdump utility from vim distribution
WWW= https://www.vim.org/
LICENSE= VIM
LICENSE_NAME= VIM License
LICENSE_FILE= ${WRKSRC}/../../runtime/doc/uganda.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
DISTINFO_FILE= ${VIM_PORT}/distinfo
ALL_TARGET= ${PORTNAME}
PORTSCOUT= ignore:1
EXTRACT_AFTER_ARGS= --include='*/src/xxd*' --include='*/runtime/doc/uganda.txt'
WRKSRC_SUBDIR= src/xxd
PLIST_FILES= bin/xxd
USE_GITHUB= yes
GH_ACCOUNT= vim
GH_PROJECT= vim
.include <bsd.port.pre.mk>
VIM_PORT= ${.CURDIR}/../../editors/vim
VIM_DISTVERSION!= ${BSDMAKE} -f ${VIM_PORT}/Makefile -V DISTVERSION
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xxd ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>