diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile --- a/archivers/zpaqfranz/Makefile +++ b/archivers/zpaqfranz/Makefile @@ -1,5 +1,6 @@ PORTNAME= zpaqfranz DISTVERSION= 55.12 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.francocorbelli.it/zpaqfranz/freebsd/ @@ -11,8 +12,16 @@ NO_WRKSUBDIR= yes -PLIST_FILES= bin/dir \ - bin/zpaqfranz +OPTIONS_DEFINE= DIRCOMMAND +DIRCOMMAND_DESC= Add a symlink to call the dir subcommand directly + +PLIST_FILES= bin/zpaqfranz + +DIRCOMMAND_PLIST_FILES= bin/dir +DIRCOMMAND_CONFLICTS_INSTALL= gnuls + +post-install-DIRCOMMAND-off: + ${RM} ${STAGEDIR}${LOCALBASE}/bin/dir .include