mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
37f2224fa6
And some ports have USE_PERL5=yes now.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: ssync
|
|
# Date created: 23 March 2002
|
|
# Whom: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ssync
|
|
PORTVERSION= 2.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://alcatraz.labs.agilent.com/shaffer/ssync/
|
|
|
|
MAINTAINER= nyxo@dnuc.polyn.kiae.su
|
|
|
|
ALL_TARGET= default
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= ssync.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init
|
|
@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
|
|
${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c
|
|
@${REINPLACE_CMD} -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ssyncd ${PREFIX}/sbin/ssyncd
|
|
@${INSTALL_DATA} ${WRKSRC}/ssyncd.conf ${PREFIX}/etc/ssyncd.conf.sample
|
|
@${INSTALL_DATA} ${WRKSRC}/ssyncd.work ${PREFIX}/etc/ssyncd.work.sample
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/ssyncd.init ${PREFIX}/etc/rc.d/ssyncd.init
|
|
@${INSTALL_MAN} ${WRKSRC}/ssync.man ${MAN1PREFIX}/man/man1/ssync.1
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|