mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
3f470a227c
- Rename man pages in the style of Tcl packages, so as to avoid a conflict with open-motif (Object.3) - Remove obsolete CONFLICTS setting. PR: 221045 Submitted by: olgeni Approved by: gahr
34 lines
779 B
Makefile
34 lines
779 B
Makefile
# Created by: gahr@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nx
|
|
DISTVERSION= 2.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/next-scripting/${DISTVERSION}/
|
|
DISTNAME= nsf${DISTVERSION}
|
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
|
COMMENT= Highly flexible, Tcl-based, object-oriented scripting language
|
|
|
|
LICENSE= MIT
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES+= gmake tcl:85+,tea
|
|
USE_LDCONFIG= yes
|
|
TEST_TARGET= test
|
|
PLIST_SUB+= PKGNAME=${DISTNAME}
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}/doc && for f in *.1; do mv $$f $${f%.1}.nx.1; done
|
|
cd ${WRKSRC}/doc && for f in *.3; do mv $$f $${f%.3}.nx.3; done
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${DISTNAME}/lib${DISTNAME}.so
|
|
|
|
.include <bsd.port.mk>
|