1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/shells/osh/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:15:47 +00:00

28 lines
583 B
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= osh
DISTVERSION= 20160108
CATEGORIES= shells
MASTER_SITES= http://v6shell.org/src/
MAINTAINER= johans@FreeBSD.org
COMMENT= Implementation of the UNIX 6th Edition shell
MAKE_ENV+= DOCDIR=${DOCSDIR} \
EXPDIR=${EXAMPLESDIR} \
MANDIR=${MANPREFIX}/man/man1
PORTDOCS= *
PORTEXAMPLES= *
INSTALL_TARGET= install install-doc install-exp
PLIST_SUB+= VER=${DISTVERSION}
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -E -e 's|(DESTEXPDIR)=|\1?=|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>