1 |
douglas |
526 |
diff -Nrux .svn -x work /usr/ports/sysutils/hardlink/Makefile hardlink/Makefile |
2 |
|
|
--- /usr/ports/sysutils/hardlink/Makefile 2012-03-11 00:56:28.000000000 -0800 |
3 |
|
|
+++ hardlink/Makefile 2012-05-16 20:04:07.000000000 -0700 |
4 |
|
|
@@ -6,8 +6,8 @@ |
5 |
|
|
# |
6 |
|
|
|
7 |
|
|
PORTNAME= hardlink |
8 |
|
|
-PORTVERSION= 0.1.2 |
9 |
|
|
-CATEGORIES= sysutils python |
10 |
|
|
+PORTVERSION= 0.2.0 |
11 |
|
|
+CATEGORIES= sysutils |
12 |
|
|
MASTER_SITES= http://jak-linux.org/projects/hardlink/ \ |
13 |
|
|
DEBIAN |
14 |
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION} |
15 |
|
|
@@ -17,19 +17,26 @@ |
16 |
|
|
|
17 |
|
|
LICENSE= MIT |
18 |
|
|
|
19 |
|
|
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config |
20 |
|
|
+ |
21 |
|
|
MAN1= hardlink.1 |
22 |
|
|
-NO_BUILD= yes |
23 |
|
|
PLIST_FILES= bin/hardlink |
24 |
|
|
-USE_PYTHON= 2.5+ |
25 |
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} |
26 |
|
|
|
27 |
|
|
+OPTIONS= PCRE "Use PCRE for regular expressions" On |
28 |
|
|
+ |
29 |
|
|
PORTSCOUT= limit:(?<!~rc[0-9])$$ |
30 |
|
|
|
31 |
|
|
-post-patch: |
32 |
|
|
- @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/hardlink.py |
33 |
|
|
+.include <bsd.port.options.mk> |
34 |
|
|
+ |
35 |
|
|
+.if defined(WITHOUT_PCRE) |
36 |
|
|
+MAKE_ENV+= ENABLE= |
37 |
|
|
+.else |
38 |
|
|
+LIB_DEPENDS+= pcreposix.0:${PORTSDIR}/devel/pcre |
39 |
|
|
+.endif |
40 |
|
|
|
41 |
|
|
do-install: |
42 |
|
|
- ${INSTALL_SCRIPT} ${WRKSRC}/hardlink.py ${PREFIX}/bin/hardlink |
43 |
|
|
+ ${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${PREFIX}/bin/hardlink |
44 |
|
|
${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${MAN1PREFIX}/man/man1/hardlink.1 |
45 |
|
|
|
46 |
|
|
.include <bsd.port.mk> |
47 |
|
|
diff -Nrux .svn -x work /usr/ports/sysutils/hardlink/distinfo hardlink/distinfo |
48 |
|
|
--- /usr/ports/sysutils/hardlink/distinfo 2012-03-09 11:17:51.000000000 -0800 |
49 |
|
|
+++ hardlink/distinfo 2012-05-16 20:05:36.000000000 -0700 |
50 |
|
|
@@ -1,2 +1,2 @@ |
51 |
|
|
-SHA256 (hardlink_0.1.2.tar.gz) = 76181794b41c4dbdb418a91d18c5d5e627df1ace7799e088685632e20fc60d1c |
52 |
|
|
-SIZE (hardlink_0.1.2.tar.gz) = 6840 |
53 |
|
|
+SHA256 (hardlink_0.2.0.tar.gz) = 7dbacfaaaa6bcc090f75511b204b73ca8f9da7816c4e9ea384eee5261aaef8d1 |
54 |
|
|
+SIZE (hardlink_0.2.0.tar.gz) = 12478 |