0263b9d868
both current (fc4) and future linux (f8) distributions at one ports tree. The patch contains full changes to ports/Mk files and all ports involved. But only infrastructure is changed. The resulting packages are the same as before. Hence no need to bump PORTREVISIONs. The idea was taken from bsd.gnome.mk and others. More than 130 ports are switched to follow a new linux infrastructure introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new bsd.linux-apps.mk. Thanks for all who was involved and helped me with this work. And help from Alexander Leidinger was incredible. Other changes are coming. Stay tuned! PR: ports/132510 Submitted by: bsam (me) Exp-run by: portmgr (pav)
61 lines
2.1 KiB
Makefile
61 lines
2.1 KiB
Makefile
# New ports collection makefile for: mulberry
|
|
# Date created: 12 Dec 2001
|
|
# Whom: Yarema <yds@CoolRat.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mulberry
|
|
PORTVERSION= 4.0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.mulberrymail.com/downloads/Mulberry/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR=v${PORTVERSION:S/./_/g}
|
|
DISTNAME= Mulberry
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= A scalable high-performance GUI internet Mail User Agent
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= xorglibs
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
INSTALL_DIR?= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
|
|
PLUGINSDIR= ${PREFIX}/lib/${PORTNAME}/Plug-ins
|
|
RESOURCESDIR= ${PREFIX}/lib/${PORTNAME}/Resources
|
|
PIXMAPSDIR= ${PREFIX}/share/pixmaps
|
|
|
|
SUB_LIST= PORTNAME=${PORTNAME} WRKSRC=${WRKSRC}
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
|
|
do-build:
|
|
${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_DIR} ${PLUGINSDIR}
|
|
${INSTALL_DIR} ${PIXMAPSDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
# ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/lib/${PORTNAME}/${PORTNAME}.bin
|
|
# ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/*.so ${PLUGINSDIR}
|
|
${MKDIR} ${PREFIX}/lib/${PORTNAME}/Resources
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Resources/* ${RESOURCESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/icons/* ${PIXMAPSDIR}
|
|
${INSTALL_DIR} ${PLUGINSDIR}/Timezones
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/Plug-ins/Timezones/* ${PLUGINSDIR}/Timezones
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${EXAMPLESDIR}
|
|
@[ -f ${PREFIX}/etc/mailcap ] || ${INSTALL_DATA} ${FILESDIR}/mailcap ${PREFIX}/etc/mailcap
|
|
${INSTALL_DATA} ${FILESDIR}/url.helpers ${EXAMPLESDIR}
|
|
@[ -f ${PREFIX}/lib/url.helpers ] || ${INSTALL_DATA} ${FILESDIR}/url.helpers ${PREFIX}/lib/url.helpers
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL_DIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.${PORTNAME}/CHANGES* ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Mulberry_License ${DOCSDIR}
|
|
.endif
|
|
.include <bsd.port.post.mk>
|