Polish misc/dialog Makefile

- reorder according to Makefile.template
- remove --includedir which is not needed

OK sthen@ aja@
This commit is contained in:
rpe 2014-12-24 15:36:07 +00:00
parent b669e35a1e
commit 6cef6912b7

View File

@ -1,32 +1,31 @@
# $OpenBSD: Makefile,v 1.21 2014/12/11 23:54:51 rpe Exp $
# $OpenBSD: Makefile,v 1.22 2014/12/24 15:36:07 rpe Exp $
COMMENT = curses widgets (menus, lists, etc) for shell scripts
COMMENT = curses widgets (menus, lists, etc) for shell scripts
V = 1.2-20140911
DISTNAME = dialog-${V}
PKGNAME = dialog-${V:S/-/./}
V = 1.2-20140911
DISTNAME = dialog-${V}
PKGNAME = dialog-${V:S/-/./}
EXTRACT_SUFX = .tgz
CATEGORIES = misc
CATEGORIES = misc
MASTER_SITES = ftp://invisible-island.net/dialog/
HOMEPAGE = http://invisible-island.net/dialog/dialog.html
HOMEPAGE = http://invisible-island.net/dialog/dialog.html
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m ncurses
MODULES = devel/gettext
MASTER_SITES = ftp://invisible-island.net/dialog/
EXTRACT_SUFX = .tgz
CONFIGURE_STYLE = gnu
MAKE_FILE = makefile
MODULES = devel/gettext
CONFIGURE_ARGS = --enable-nls \
--includedir="${LOCALBASE}/include"
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -liconv"
MAKE_FILE = makefile
NO_TEST = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-nls
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -liconv"
NO_TEST = Yes
.include <bsd.port.mk>