Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= portupgrade |
8 |
PORTNAME= portupgrade |
9 |
PORTVERSION= 20120512 |
9 |
PORTVERSION= 20120601 |
10 |
PORTEPOCH= 3 |
10 |
PORTEPOCH= 3 |
11 |
CATEGORIES= ports-mgmt |
11 |
CATEGORIES= ports-mgmt |
12 |
MASTER_SITES= http://github.com/pkgtools/pkgtools/tarball/${GITVERSION}/ \ |
12 |
MASTER_SITES= http://github.com/pkgtools/pkgtools/tarball/${GITVERSION}/ \ |
Lines 24-30
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
Link Here
|
24 |
CONFLICTS_INSTALL= portupgrade-[0-9]* |
24 |
CONFLICTS_INSTALL= portupgrade-[0-9]* |
25 |
|
25 |
|
26 |
FETCH_ARGS= -Fpr |
26 |
FETCH_ARGS= -Fpr |
27 |
GITVERSION= 6b51331 |
27 |
GITVERSION= 0529f13 |
28 |
|
28 |
|
29 |
USE_RUBY= yes |
29 |
USE_RUBY= yes |
30 |
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg |
30 |
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg |
Lines 49-59
MANCOMPRESSED= maybe
Link Here
|
49 |
EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools |
49 |
EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools |
50 |
DOCSDIR= ${PREFIX}/share/doc/pkgtools |
50 |
DOCSDIR= ${PREFIX}/share/doc/pkgtools |
51 |
|
51 |
|
|
|
52 |
.include <bsd.port.pre.mk> |
53 |
|
52 |
INSTALL_TARGET= install |
54 |
INSTALL_TARGET= install |
53 |
.if !defined(NOPORTDOCS) |
55 |
.if ${PORT_OPTIONS:MDOCS} |
54 |
INSTALL_TARGET+= install-doc |
56 |
INSTALL_TARGET+= install-doc |
55 |
.endif |
57 |
.endif |
56 |
|
58 |
|
|
|
59 |
# Need to install working script(1) |
60 |
.if ${OSVERSION} < 801000 |
61 |
PLIST_SUB+= SCRIPT="" |
62 |
MAKE_ENV+= NEED_COMPAT_SCRIPT=yes |
63 |
.else |
64 |
PLIST_SUB+= SCRIPT="@comment " |
65 |
.endif |
66 |
|
57 |
post-patch: .SILENT |
67 |
post-patch: .SILENT |
58 |
REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ |
68 |
REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ |
59 |
${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb |
69 |
${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb |
Lines 64-67
post-install:
Link Here
|
64 |
fi |
74 |
fi |
65 |
${MKDIR} ${PREFIX}/lib/compat/pkg |
75 |
${MKDIR} ${PREFIX}/lib/compat/pkg |
66 |
|
76 |
|
67 |
.include <bsd.port.mk> |
77 |
.include <bsd.port.post.mk> |