| @@ -1,26 +1,28 @@ | | | @@ -1,26 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.1 2018/09/08 13:23:38 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2018/09/08 14:10:52 leot Exp $ |
2 | | | 2 | |
3 | DISTNAME= sfeed-0.9.6 | | 3 | DISTNAME= sfeed-0.9.6 |
4 | CATEGORIES= news | | 4 | CATEGORIES= news |
5 | MASTER_SITES= http://codemadness.org/releases/sfeed/ | | 5 | MASTER_SITES= http://codemadness.org/releases/sfeed/ |
6 | | | 6 | |
7 | MAINTAINER= leot@NetBSD.org | | 7 | MAINTAINER= leot@NetBSD.org |
8 | HOMEPAGE= http://codemadness.org/git/sfeed/file/README.html | | 8 | HOMEPAGE= http://codemadness.org/git/sfeed/file/README.html |
9 | COMMENT= RSS and Atom parser | | 9 | COMMENT= RSS and Atom parser |
10 | LICENSE= isc | | 10 | LICENSE= isc |
11 | | | 11 | |
12 | USE_LANGUAGES= c99 | | 12 | USE_LANGUAGES= c99 |
13 | | | 13 | |
14 | # Adjust config.mk | | 14 | # Adjust config.mk |
15 | SUBST_CLASSES+= makefile | | 15 | SUBST_CLASSES+= makefile |
16 | SUBST_STAGE.makefile= pre-configure | | 16 | SUBST_STAGE.makefile= pre-configure |
17 | SUBST_MESSAGE.makefile= Fixing config.mk | | 17 | SUBST_MESSAGE.makefile= Fixing config.mk |
18 | SUBST_FILES.makefile= config.mk | | 18 | SUBST_FILES.makefile= config.mk |
19 | SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g' | | 19 | SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g' |
20 | SUBST_SED.makefile+= -e 's,man,${PKGMANDIR},g' | | 20 | SUBST_SED.makefile+= -e 's,man,${PKGMANDIR},g' |
21 | SUBST_SED.makefile+= -e 's/cc/${CC:Q}/' | | 21 | SUBST_SED.makefile+= -e 's/cc/${CC:Q}/' |
22 | SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,' | | 22 | SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,' |
23 | SUBST_SED.makefile+= -e 's,^CPPFLAGS *= ,CPPFLAGS += ,' | | 23 | SUBST_SED.makefile+= -e 's,^CPPFLAGS *= ,CPPFLAGS += ,' |
24 | SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' | | 24 | SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' |
25 | | | 25 | |
| | | 26 | REPLACE_SH+= sfeed_opml_export sfeed_update |
| | | 27 | |
26 | .include "../../mk/bsd.pkg.mk" | | 28 | .include "../../mk/bsd.pkg.mk" |