1 # $NetBSD: Makefile,v 1.1 2012/02/28 17:17:57 apb Exp $
4 DISTNAME
= regxml-
${SNAPSHOT_DATE}-${SNAPSHOT_HASH
:C
/(......
).
*/\
1/}
5 PKGNAME
= regxml-0.0.
${SNAPSHOT_DATE}
9 # The master site does not have a stable distfile.
11 # You can download a distfile from
12 # <http://git.huoc.org/?p=regxml.git;a=snapshot;h=${SNAPSHOT_HASH};sf=tgz>
13 # but the timestamp in the gzip compression layer will be different
14 # almost every time, so it will fail the pkgsrc integrity tests.
15 # To deal with this, we keep a distfile in MASTER_SITE_LOCAL.
17 # To update to a newer snapshot:
19 # 1. Go to <http://git.huoc.org/?p=regxml.git;a=summary> and
20 # choose an appropriate snapshot. Make a note of the date
22 # 2. Download the snapshot to your own computer.
23 # 3. Rename the downloaded snapshot to
24 # regxml-${YYYYMMDD}-${FIRST_6_CHARS_OF_GIT_HASH}.tar.gz
25 # 4. Edit the SNAPSHOT_DATE and SNAPSHOT_HASH in thie Makefile.
26 # 5. Upload your copy of the snapshot to MASTER_SITE_LOCAL, which is
27 # <http://ftp.NetBSD.org/pub/pkgsrc/distfiles/LOCAL_PORTS/>
28 # 6. Everything else you would normally do when updating to a new version
31 SNAPSHOT_DATE
= 20100901
32 SNAPSHOT_HASH
= d9f32668e0f75204abe7acfaf22981893520c7b6
33 MASTER_SITES
= ${MASTER_SITE_LOCAL}
35 MAINTAINER
= pkgsrc-users@NetBSD.org
36 HOMEPAGE
= http
://git.huoc.org
/?p
=regxml.git
;a
=summary
38 COMMENT
= Command line utilities for XML stream manipulation
42 MAKE_FILE
= GNUmakefile
44 WRKSRC
= ${WRKDIR}/${DISTNAME
:C
/-.
*//}
46 INSTALLATION_DIRS
+= bin
47 INSTALLATION_DIRS
+= ${PKGMANDIR} ${PKGMANDIR}/man1
48 INSTALLATION_DIRS
+= ${PKGMANDIR}/man3
${PKGMANDIR}/man7
51 ${INSTALL_PROGRAM} ${WRKSRC}/xmlgrep
/xmlgrep \
52 ${DESTDIR}${PREFIX}/bin
/xmlgrep
53 ${INSTALL_PROGRAM} ${WRKSRC}/xmlsed
/xmlsed \
54 ${DESTDIR}${PREFIX}/bin
/xmlsed
55 ${INSTALL_MAN} ${WRKSRC}/doc
/xmlgrep
.1 \
56 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
/
57 ${INSTALL_MAN} ${WRKSRC}/doc
/xmlsed
.1 \
58 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
/
59 ${INSTALL_MAN} ${WRKSRC}/doc
/regxml
.3 \
60 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
/
61 ${INSTALL_MAN} ${WRKSRC}/doc
/regxml_xml
.3 \
62 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
/
63 ${INSTALL_MAN} ${WRKSRC}/doc
/xmltools
.7 \
64 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
/
66 .
include "../../textproc/expat/buildlink3.mk"
68 # url2pkg-marker (please do not remove this line.)
69 .
include "../../mk/bsd.pkg.mk"