diff options
author | max <max@FreeBSD.org> | 2001-11-04 21:43:29 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2001-11-04 21:43:29 +0800 |
commit | acd37eef42d8619fe6834ac849885caab6c1986f (patch) | |
tree | e3e82cc84c132c7d4481b3e7b5600e44ab8115cb /mail/youbin/Makefile | |
parent | f031b8b89c0e481f05a1419e7fe57a4c89e7803f (diff) | |
download | freebsd-ports-gnome-acd37eef42d8619fe6834ac849885caab6c1986f.tar.gz freebsd-ports-gnome-acd37eef42d8619fe6834ac849885caab6c1986f.tar.zst freebsd-ports-gnome-acd37eef42d8619fe6834ac849885caab6c1986f.zip |
Upgrade to 3.4.
PR: 24599
Originally Submitted by: Noritoshi Atsumi <atsumi@agusa.nuie.nagoya-u.ac.jp>
Diffstat (limited to 'mail/youbin/Makefile')
-rw-r--r-- | mail/youbin/Makefile | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile index e392bcc80e10..e8c2efb28df0 100644 --- a/mail/youbin/Makefile +++ b/mail/youbin/Makefile @@ -6,26 +6,20 @@ # PORTNAME= youbin -PORTVERSION= 2.13 +PORTVERSION= 3.4 CATEGORIES= mail -MASTER_SITES= ftp://ftp.nuie.nagoya-u.ac.jp/pub/nagoya-u/ \ - ftp://ftp.kyoto.wide.ad.jp/pub/net/ +MASTER_SITES= http://www.agusa.nuie.nagoya-u.ac.jp/software/agusalab/youbin/archive/ +DISTNAME= ${PORTNAME}${PORTVERSION}-unix MAINTAINER= max@FreeBSD.org -USE_IMAKE= yes -USE_XPM= yes -#PREFIX?= ${LOCALBASE} -#MTREE_FILE?= /etc/mtree/BSD.local.dist +USE_IMAKE= yes +USE_X_PREFIX= no +USE_XPM= yes +WRKSRC= ${WRKDIR}/Youbin-Unix +NO_INSTALL_MANPAGES= yes -MAN1= youbin.1 -MAN3= youbin_sub.3 -MAN8= youbind.8 - -STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh.sample - -post-extract: - (cd ${WRKSRC}; ${CP} -p Doc/*.man .) +SAMPLE_SCRIPTS= youbind.sh.sample xyoubin.sh pre-build: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} BUILD @@ -34,12 +28,17 @@ pre-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} INSTALL post-install: - @if [ ! -f ${STARTUP_SCRIPT} ]; then \ - ${ECHO} "Creating startup script '${STARTUP_SCRIPT}'" ; \ - ${SED} s:@PREFIX@:${PREFIX}: ${FILESDIR}/youbind.sh.sample \ - > ${STARTUP_SCRIPT} ; \ - ${CHMOD} 755 ${STARTUP_SCRIPT} ; \ - fi +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/youbin + ${INSTALL_DATA} ${WRKSRC}/Doc/* ${PREFIX}/share/doc/youbin +.endif + ${MKDIR} ${PREFIX}/share/examples/youbin/Bitmap + ${INSTALL_DATA} ${WRKSRC}/Bitmap/* ${PREFIX}/share/examples/youbin/Bitmap +.for f in ${SAMPLE_SCRIPTS} + ${SED} s:@PREFIX@:${PREFIX}: ${FILESDIR}/$f \ + > ${PREFIX}/share/examples/youbin/$f + ${CHMOD} 755 ${PREFIX}/share/examples/youbin/$f +.endfor @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> |