Lines 1-9
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= oksh |
3 |
PORTNAME= oksh |
4 |
DISTVERSION= 20180401 |
4 |
DISTVERSION= 20181009 |
5 |
CATEGORIES= shells |
5 |
CATEGORIES= shells |
6 |
MASTER_SITES= https://devio.us/~bcallah/oksh/ |
6 |
MASTER_SITES= https://mirrors.nycbug.org/pub/distfiles/ |
7 |
|
7 |
|
8 |
MAINTAINER= bcallah@openbsd.org |
8 |
MAINTAINER= bcallah@openbsd.org |
9 |
COMMENT= Portable OpenBSD Korn shell |
9 |
COMMENT= Portable OpenBSD Korn shell |
Lines 10-17
Link Here
|
10 |
|
10 |
|
11 |
LICENSE= PD |
11 |
LICENSE= PD |
12 |
|
12 |
|
|
|
13 |
OPTIONS_DEFINE= CURSES STATIC |
14 |
OPTIONS_DEFAULT= CURSES |
15 |
|
16 |
CURSES_DESC= Use ncurses for screen clearing routines |
17 |
CURSES_USES= ncurses |
18 |
|
13 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
14 |
|
20 |
|
|
|
21 |
.include <bsd.port.options.mk> |
22 |
|
23 |
.if ${PORT_OPTIONS:MSTATIC} |
24 |
CONFIGURE_ARGS+= --enable-static |
25 |
.endif |
26 |
|
27 |
.if ${PORT_OPTIONS:MCURSES} |
28 |
CONFIGURE_ARGS+= --enable-curses |
29 |
.else |
30 |
CONFIGURE_ARGS+= --disable-curses |
31 |
.endif |
32 |
|
15 |
do-install: |
33 |
do-install: |
16 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
17 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
35 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 |