openbsd-ports/misc/pdmenu/Makefile

57 lines
1.7 KiB
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.19 2010/11/19 07:23:12 espie Exp $
2001-03-25 14:17:45 -05:00
COMMENT= simple slang-based menu program
2009-10-13 17:48:30 -04:00
DISTNAME= pdmenu_1.2.98
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= misc
HOMEPAGE= http://kitenet.net/programs/pdmenu/
2002-05-11 19:59:35 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-05 04:24:49 -04:00
WANTLIB= c curses iconv m slang
2009-10-13 17:48:30 -04:00
MASTER_SITES= http://ftp.de.debian.org/debian/pool/main/p/pdmenu/
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= devel/libslang
2009-10-13 17:48:30 -04:00
MODULES= devel/gettext
DESTDIRNAME= INSTALL_PREFIX
2001-05-07 20:09:39 -04:00
2009-10-13 17:48:30 -04:00
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf no-autoheader
2009-10-13 17:48:30 -04:00
AUTOCONF_VERSION= 2.61
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
#CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
CONFIGURE_ENV= LIBS="-lm -lcurses -lintl -liconv" \
SLANG_LIB_LOC=${DEPBASE}/lib \
SLANG_H_LOC=${DEPBASE}/include/slang.h
WRKDIST= ${WRKDIR}/pdmenu
2010-11-19 02:23:05 -05:00
USE_GROFF = Yes
2001-11-10 08:11:44 -05:00
NO_REGRESS= Yes
2009-10-13 17:48:30 -04:00
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pdmenu
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pdmenu/newbie
${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/examples/pdmenurc ${PREFIX}/share/examples/pdmenu
${INSTALL_MAN} ${WRKSRC}/doc/pdmenu.man ${PREFIX}/man/man1/pdmenu.1
${INSTALL_MAN} ${WRKSRC}/doc/pdmenurc.man ${PREFIX}/man/man5/pdmenurc.5
.for i in README ba.lpd editdir.pl pdmenurc pdmenurc.complex pdmenurc.monitor showdir.pl newbie/modem-check newbie/pdmenurc.newbie newbie/rpm-info-on-command
${INSTALL_SCRIPT} ${WRKSRC}/examples/$i ${PREFIX}/share/examples/pdmenu/$i
.endfor
.for lang in fr es ru
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
${PREFIX}/share/locale/${lang}/LC_MESSAGES/pdmenu.mo
.endfor
.include <bsd.port.mk>