# $NetBSD: Makefile,v 1.47 2006/02/05 23:08:28 joerg Exp $ DISTNAME= minicom-2.1 PKGREVISION= 2 CATEGORIES= comms MASTER_SITES= http://alioth.debian.org/download.php/123/ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://minicom.alioth.debian.org/ COMMENT= MS-DOS Telix serial communication program "workalike" BUILD_USES_MSGFMT= yes DEPENDS+= gkermit-[0-9]*:../../comms/gkermit DEPENDS+= lrzsz-[0-9]*:../../comms/lrzsz PKG_INSTALLATION_TYPES= overwrite pkgviews USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} PKG_SYSCONFSUBDIR= minicom EGDIR= ${PREFIX}/share/examples/minicom PKG_GROUPS= dialer PKG_USERS= uucp:dialer SPECIAL_PERMS= ${PREFIX}/bin/minicom uucp dialer 4755 OWN_DIRS_PERMS= ${PKG_SYSCONFDIR} uucp dialer 0755 CONF_FILES_PERMS= ${EGDIR}/minicom.users ${PKG_SYSCONFDIR}/minicom.users \ uucp dialer 0644 SUBST_CLASSES+= minicom SUBST_MESSAGE.minicom= "Fixing hardcoded paths." SUBST_STAGE.minicom= post-patch SUBST_FILES.minicom= src/rwconf.c SUBST_SED.minicom= -e 's,@PREFIX@,${PREFIX},g' post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${EGDIR} .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"