| @@ -1,19 +1,19 @@ | | | @@ -1,19 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.3 2013/04/02 00:23:58 mspo Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2013/04/26 18:31:28 mspo Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= sandy-0.4 | | 4 | DISTNAME= sandy-0.4 |
5 | CATEGORIES= editors | | 5 | CATEGORIES= editors |
6 | MASTER_SITES= http://git.suckless.org/sandy/snapshot/ | | 6 | MASTER_SITES= ${MASTER_SITE_LOCAL} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://tools.suckless.org/sandy | | 9 | HOMEPAGE= http://tools.suckless.org/sandy |
10 | COMMENT= Sandy is an ncurses text editor | | 10 | COMMENT= Sandy is an ncurses text editor |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | SUBST_CLASSES= fix-paths | | 13 | SUBST_CLASSES= fix-paths |
14 | SUBST_STAGE.fix-paths= pre-configure | | 14 | SUBST_STAGE.fix-paths= pre-configure |
15 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 15 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
16 | SUBST_FILES.fix-paths= config.mk | | 16 | SUBST_FILES.fix-paths= config.mk |
17 | SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g' | | 17 | SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g' |
18 | SUBST_SED.fix-paths+= -e 's,/usr/include,${BUILDLINK_PREFIX.ncursesw}/include,g' | | 18 | SUBST_SED.fix-paths+= -e 's,/usr/include,${BUILDLINK_PREFIX.ncursesw}/include,g' |
19 | SUBST_SED.fix-paths+= -e 's,/usr/lib,${BUILDLINK_PREFIX.ncursesw}/lib -Wl\,-R${BUILDLINK_PREFIX.ncursesw}/lib,g' | | 19 | SUBST_SED.fix-paths+= -e 's,/usr/lib,${BUILDLINK_PREFIX.ncursesw}/lib -Wl\,-R${BUILDLINK_PREFIX.ncursesw}/lib,g' |