5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2018/07/04 13:40:33 jperkin Exp $
|
|
|
|
DISTNAME= pdfmod-0.9.1
|
|
PKGREVISION= 20
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pdfmod/0.9/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc.gnome@gmail.com
|
|
HOMEPAGE= https://wiki.gnome.org/Apps/PdfMod
|
|
COMMENT= PDF Mod is a simple tool for modifying PDF documents
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= pkg-config intltool msgfmt gmake
|
|
USE_LANGUAGES= c c++
|
|
REPLACE_SH= icon-theme-installer
|
|
|
|
INSTALLATION_DIRS+= lib/pdfmod
|
|
|
|
SUBST_CLASSES+= fix-mcs
|
|
SUBST_STAGE.fix-mcs= pre-configure
|
|
SUBST_MESSAGE.fix-mcs= Fix compiler name
|
|
SUBST_FILES.fix-mcs= configure
|
|
SUBST_SED.fix-mcs= -e 's,gmcs,mcs,'
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../lang/mono/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
|
|
.include "../../x11/hyena/buildlink3.mk"
|
|
# gnome-sharp not needed, but gconf-sharp
|
|
.include "../../x11/gnome-sharp/buildlink3.mk"
|
|
.include "../../x11/gtk-sharp/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|