aboutsummaryrefslogtreecommitdiff
path: root/sysutils/backuppc4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/backuppc4/Makefile')
-rw-r--r--sysutils/backuppc4/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/backuppc4/Makefile b/sysutils/backuppc4/Makefile
index c691159ce7a3..525a1e9695e3 100644
--- a/sysutils/backuppc4/Makefile
+++ b/sysutils/backuppc4/Makefile
@@ -14,7 +14,8 @@ COMMENT= Multi-platform backup to disk-based storage
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= p5-File-Listing>=0:sysutils/p5-File-Listing \
+RUN_DEPENDS= p5-CGI>0:www/p5-CGI \
+ p5-File-Listing>=0:sysutils/p5-File-Listing \
p5-BackupPC-XS>=0.53:sysutils/p5-BackupPC-XS
CONFLICTS= backuppc-[0-9]* backuppc-devel-[0-9]*
@@ -85,10 +86,4 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/backuppc
${CP} ${WRKSRC}/configure.pl ${STAGEDIR}${PREFIX}/libexec/backuppc/configure.pl
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 502200
-RUN_DEPENDS+= p5-CGI>0:www/p5-CGI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>