aboutsummaryrefslogtreecommitdiff
path: root/sysutils/anacron/Makefile
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-11-24 02:45:09 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-11-24 02:45:09 +0000
commitc347b4b3e66a00e0e7c54da3ebaa576308ebc0b5 (patch)
treeb40ebe9d55b29ed2e91d19d21a9b54a1033360dc /sysutils/anacron/Makefile
parented28c0223058b7ed8c696b08808223abc56ecd0c (diff)
downloadports-c347b4b3e66a00e0e7c54da3ebaa576308ebc0b5.tar.gz
ports-c347b4b3e66a00e0e7c54da3ebaa576308ebc0b5.zip
- Add startup script.
PR: ports/74287 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=122268
Diffstat (limited to 'sysutils/anacron/Makefile')
-rw-r--r--sysutils/anacron/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/anacron/Makefile b/sysutils/anacron/Makefile
index 567b4913b635..0dfa6d52c06f 100644
--- a/sysutils/anacron/Makefile
+++ b/sysutils/anacron/Makefile
@@ -7,7 +7,7 @@
PORTNAME= anacron
PORTVERSION= 2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= anacron
@@ -18,9 +18,13 @@ COMMENT= Schedules periodic jobs on systems that are not permanently up
MAN8= anacron.8
MAN5= anacrontab.5
USE_GMAKE= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
post-install:
- ${CAT} pkg-message
+ ${CAT} ${PKGMESSAGE}
${STRIP_CMD} ${PREFIX}/sbin/anacron
+post-patch:
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
+
.include <bsd.port.mk>