summaryrefslogtreecommitdiff
path: root/devel/apache-ant
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apache-ant')
-rw-r--r--devel/apache-ant/Makefile5
-rw-r--r--devel/apache-ant/pkg-plist3
2 files changed, 5 insertions, 3 deletions
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile
index c793cbd23d8c..d535a7a3e773 100644
--- a/devel/apache-ant/Makefile
+++ b/devel/apache-ant/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-ant
PORTVERSION= 1.5.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel java
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${ANT_VERSION}/bin/ \
http://www.metaverse.nl/~ernst/ \
@@ -55,13 +55,14 @@ post-patch:
do-install:
@${ECHO_CMD} -n ">> Creating destination directory..."
+ @${MKDIR} ${PORTDESTDIR}/bin
@${MKDIR} ${PORTDESTDIR}/lib
@${ECHO_CMD} " [ DONE ]"
@${ECHO_CMD} -n ">> Installing scripts..."
@cd ${INSTALL_WRKSRC}; \
${INSTALL_SCRIPT} ${WRKSRC}/bin/ant ${PREFIX}/bin; \
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PREFIX}/bin;
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/antRun ${PORTDESTDIR}/bin;
@${ECHO_CMD} " [ DONE ]"
@${ECHO_CMD} -n ">> Installing readme files..."
diff --git a/devel/apache-ant/pkg-plist b/devel/apache-ant/pkg-plist
index df2ce79a08cc..be827d21f6c7 100644
--- a/devel/apache-ant/pkg-plist
+++ b/devel/apache-ant/pkg-plist
@@ -1,5 +1,5 @@
bin/ant
-bin/antRun
+%%T%%/bin/antRun
%%T%%/lib/ant.jar
%%T%%/lib/optional.jar
%%T%%/lib/README
@@ -1005,6 +1005,7 @@ bin/antRun
%%T%%/docs/problems.html
%%T%%/docs/projects.html
%%T%%/docs/resources.html
+@dirrm %%T%%/bin
@dirrm %%T%%/lib
@dirrm %%T%%/docs/ant2
@dirrm %%T%%/docs/images