mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
5e5841f2cd
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: xnc
|
|
# Date created: 5 February 1999
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xnc
|
|
PORTVERSION= 4.2.1
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= http://www.xnc.dubna.su/src/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= X11/desktop
|
|
DISTFILES= ${DISTNAME}.src.tar.gz
|
|
|
|
MAINTAINER= dima@Chg.RU
|
|
|
|
# xnc will use the following programs if you have them installed.
|
|
#RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
|
# unzip:${PORTSDIR}/archivers/unzip \
|
|
# rpm:${PORTSDIR}/misc/rpm \
|
|
# rar:${PORTSDIR}/archivers/rar \
|
|
# unarj:${PORTSDIR}/archivers/unarj \
|
|
# lha:${PORTSDIR}/archivers/lha \
|
|
# bzip2:${PORTSDIR}/archivers/bzip2
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.4:${PORTSDIR}/graphics/png
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= es.1 ives.1 vs.1 xjpegroot.1 xnc.1 xnlaunch.1
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/xnc
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/* ${PREFIX}/share/doc/xnc
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|