aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/savelogs
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-01 20:51:53 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-01 20:51:53 +0800
commit50a4aa745b3574d166be8e3d0bddcf0c878dd081 (patch)
tree26786e194b016c998da3ab1027c10c0faff426b5 /sysutils/savelogs
parent6117594077266537a9bda2f5c3b0eb96a98434ea (diff)
downloadfreebsd-ports-gnome-50a4aa745b3574d166be8e3d0bddcf0c878dd081.tar.gz
freebsd-ports-gnome-50a4aa745b3574d166be8e3d0bddcf0c878dd081.tar.zst
freebsd-ports-gnome-50a4aa745b3574d166be8e3d0bddcf0c878dd081.zip
- Change maintainer email to @FreeBSD.org
- Add stage support Approved by: wg (mentor)
Diffstat (limited to 'sysutils/savelogs')
-rw-r--r--sysutils/savelogs/Makefile21
-rw-r--r--sysutils/savelogs/pkg-plist2
2 files changed, 8 insertions, 15 deletions
diff --git a/sysutils/savelogs/Makefile b/sysutils/savelogs/Makefile
index 5de75bf803a4..cd77de8f2366 100644
--- a/sysutils/savelogs/Makefile
+++ b/sysutils/savelogs/Makefile
@@ -7,28 +7,19 @@ CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SCOTTW
-MAINTAINER= danilogondolfo@gmail.com
+MAINTAINER= danilo@FreeBSD.org
COMMENT= Save log files in a nice way
USES= perl5
USE_PERL5= configure
-MAN1= rotation.1 savelogs.1
-
OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.sample ${STAGEDIR}${PREFIX}/etc/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.lint ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/sysutils/savelogs/pkg-plist b/sysutils/savelogs/pkg-plist
index 989962e5993a..6f9e9e878528 100644
--- a/sysutils/savelogs/pkg-plist
+++ b/sysutils/savelogs/pkg-plist
@@ -1,5 +1,7 @@
bin/savelogs
etc/savelogs.conf.sample
+man/man1/rotation.1.gz
+man/man1/savelogs.1.gz
%%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs
%%PORTDOCS%%%%DOCSDIR%%/FAQ