d70523df21
Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
32 lines
920 B
Makefile
32 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.15 2009/07/22 09:01:24 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= beaver${BEAVER_VERSION:S/./_/g}
|
|
PKGNAME= beaver-${BEAVER_VERSION}
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/beaver/0.3.0.1%20-%202008.06.26/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
BEAVER_VERSION= 0.3.0.1
|
|
|
|
MAINTAINER= vincent.derrien@ahoup.net
|
|
HOMEPAGE= http://www.nongnu.org/beaver/
|
|
COMMENT= Lightweight GTK+ text editor with syntax highlighting
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DIRS= src
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
SUBST_CLASSES+= iconpath
|
|
SUBST_FILES.iconpath= beaver.desktop src/interface.c
|
|
SUBST_MESSAGE.iconpath= Substituting hard-coded pathnames.
|
|
SUBST_STAGE.iconpath= pre-build
|
|
SUBST_SED.iconpath= -e 's,Icon=,&${PREFIX}/share/pixmaps/beaver/,'
|
|
SUBST_VARS.iconpath= PREFIX
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|