freebsd-ports/graphics/xpm/Makefile
Satoshi Asami dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00

28 lines
568 B
Makefile

# New ports collection makefile for: xpm
# Version required: 3.4k
# Date created: 14 September 1994
# Whom: jkh
#
# $Id: Makefile,v 1.20 1998/10/05 04:03:38 jkh Exp $
#
DISTNAME= xpm-3.4k
CATEGORIES= graphics x11
MASTER_SITES= ftp://avahi.inria.fr/pub/xpm/
MAINTAINER= jseger@FreeBSD.org
USE_IMAKE= yes
MAN1= cxpm.1 sxpm.1
.include <bsd.port.pre.mk>
post-install:
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so
.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>