c1587d82dc
the exceptions can conditionalize the statement. Fixes build on NetBSD/amd64.
37 lines
989 B
Makefile
37 lines
989 B
Makefile
# $NetBSD: Makefile,v 1.11 2008/07/10 12:46:43 joerg Exp $
|
|
|
|
DISTNAME= weex-2.6.1.5
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=weex/}
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
HOMEPAGE= http://weex.sourceforge.net/
|
|
COMMENT= Non-interactive ftp client
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= msgfmt
|
|
|
|
WEEX_DOCS= AUTHORS BUGS BUGS.ja COPYING COPYING.ja \
|
|
ChangeLog ChangeLog.ja FAQ FAQ.ja README README.ja \
|
|
THANKS TODO TODO.ja
|
|
|
|
WEEX_DOCDIR= share/doc/weex
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CFLAGS+= -DG_VA_COPY=va_copy
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${WEEX_DOCDIR}
|
|
.for f in ${WEEX_DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/${WEEX_DOCDIR}
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/weex
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc \
|
|
${DESTDIR}${PREFIX}/share/examples/weex
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|