mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
a247b2f47d
other miscellaneous files that are not actually manual pages (part 2).
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: chuckr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iwidgets
|
|
PORTVERSION= 4.0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-toolkits tk
|
|
MASTER_SITES= SF/incrtcl/%5BIncr%20Widgets%5D/${PORTVERSION}
|
|
DISTNAME= iwidgets${PORTVERSION}
|
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
|
COMMENT= Iwidgets - [incr Widgets] companion to [incr Tk]
|
|
|
|
LIB_DEPENDS= libitk.so:x11-toolkits/itk
|
|
|
|
NO_BUILD= yes
|
|
USES= tk:tea
|
|
CONFIGURE_ARGS= --with-itcl=${LOCALBASE}
|
|
SUB_LIST= IWIDGETS=${DISTNAME}
|
|
SUB_FILES= pkg-message
|
|
PLIST_SUB= IWIDGETS=${DISTNAME}
|
|
MAKE_ARGS+= INSTALL_ROOT=${STAGEDIR}
|
|
|
|
PORTDOCS= CHANGES ChangeLog README iwidgets.ps
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,^MKINSTALLDIRS =.*,MKINSTALLDIRS=${MKDIR},' \
|
|
-e 's,^INSTALL =.*,INSTALL=${INSTALL} -c,' \
|
|
-e 's,^INSTALL_PROGRAM =.*,INSTALL_PROGRAM=${INSTALL_PROGRAM},' \
|
|
-e 's,^INSTALL_DATA =.*,INSTALL_DATA=${INSTALL_DATA},' \
|
|
-e 's,^INSTALL_SCRIPT =.*,INSTALL_SCRIPT=${INSTALL_SCRIPT},' \
|
|
-e 's,@ITCL_VERSION@,3.3,g' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/lib/iwidgets
|
|
${LN} -s ${DISTNAME} ${STAGEDIR}${PREFIX}/lib/iwidgets
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/iwidgets.ps ${STAGEDIR}${DOCSDIR}
|
|
.for f in CHANGES ChangeLog README
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|