1 # New ports collection makefile for: dfuife_curses
2 # Date created: May 13, 2004
3 # Whom: Chris Pressey <cpressey@catseye.mine.nu>
5 PORTNAME= dfuife_curses
9 DISTNAME= ${PORTNAME}-${PORTVERSION}
12 LIB_DEPENDS= aura.3:${PORTSDIR}/devel/libaura \
13 dfui.4:${PORTSDIR}/sysutils/libdfui
16 LIB_DEPENDS:= ${LIB_DEPENDS} \
17 intl.6:${PORTSDIR}/devel/gettext
20 MAINTAINER= cpressey@catseye.mine.nu
21 COMMENT= DFUI curses frontend
23 PLIST_FILES= sbin/dfuife_curses share/dfuife_curses/fred.txt
25 PLIST_FILES+= share/locale/ru/LC_MESSAGES/dfuife_curses.mo
29 LOCALEDIR= ${LOCALBASE}/share/locale
34 @if [ ! -f ${_DISTDIR}${DISTNAME}${EXTRACT_SUFX} ]; then \
36 ${ECHO_MSG} "Distfile ${DISTNAME}${EXTRACT_SUFX} not found!"; \
38 ${ECHO_MSG} "This is an 'INTERNAL' port, meaning that the distfile is not retrieved"; \
39 ${ECHO_MSG} "from the Internet, but rather created from a local checkout of the"; \
40 ${ECHO_MSG} "BSD Installer CVS repository. Please see the shell scripts in the"; \
41 ${ECHO_MSG} "scripts/build directory of the repository for more information on how"; \
42 ${ECHO_MSG} "to create these distfiles."; \
47 ${MKDIR} -p ${LOCALBASE}/share/dfuife_curses
48 ${INSTALL_PROGRAM} -o root -g wheel ${WRKSRC}/dfuife_curses ${LOCALBASE}/sbin/
49 ${INSTALL_DATA} -o root -g wheel -m 444 ${WRKSRC}/fred.txt ${LOCALBASE}/share/dfuife_curses/
51 for _language in ${LANGUAGES}; do \
52 ${INSTALL_DATA} -o root -g wheel -m 444 ${WRKSRC}/po/$${_language}.mo \
53 ${LOCALEDIR}/$${_language}/LC_MESSAGES/${PORTNAME}.mo; \
57 OSTYPE!=sysctl -n kern.ostype
59 .if ${OSTYPE} == "FreeBSD"
60 .include <bsd.port.mk>
63 .if ${OSTYPE} == "DragonFly"
64 .include <bsd.dfport.mk>