2013-11-21 22:45:25 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2013/11/21 22:45:25 sthen Exp $
|
1998-11-18 23:55:32 +00:00
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
COMMENT = curses widgets (menus, lists, etc) for shell scripts
|
2001-05-06 02:29:37 +00:00
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
V = 1.2-20130928
|
|
|
|
DISTNAME = dialog-${V}
|
|
|
|
PKGNAME = dialog-${V:S/-/./}
|
1998-11-18 23:55:32 +00:00
|
|
|
|
2008-06-30 12:58:04 +00:00
|
|
|
EXTRACT_SUFX = .tgz
|
2000-03-22 19:58:12 +00:00
|
|
|
|
2008-06-30 12:58:04 +00:00
|
|
|
CATEGORIES = misc
|
|
|
|
|
|
|
|
MASTER_SITES = ftp://invisible-island.net/dialog/
|
|
|
|
HOMEPAGE = http://invisible-island.net/dialog/dialog.html
|
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
# LGPLv2.1
|
2008-06-30 12:58:04 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
WANTLIB += c m ncurses
|
2008-06-30 12:58:04 +00:00
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
MODULES = devel/gettext
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
2008-06-30 12:58:04 +00:00
|
|
|
MAKE_FILE = makefile
|
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
CONFIGURE_ARGS = --enable-nls \
|
|
|
|
--includedir="${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -liconv"
|
|
|
|
|
2013-03-11 11:20:26 +00:00
|
|
|
NO_TEST = Yes
|
1998-11-18 23:55:32 +00:00
|
|
|
|
2013-11-21 22:45:25 +00:00
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} DESTDIR=${DESTDIR} ${MAKE_FLAGS} install
|
|
|
|
|
1998-11-18 23:55:32 +00:00
|
|
|
.include <bsd.port.mk>
|