diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
commit | dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch) | |
tree | deebef625a152490a0bbcb7e5602d05a59b1c010 /graphics/xpm/Makefile | |
parent | Make bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff) |
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.)
Diffstat (limited to '')
-rw-r--r-- | graphics/xpm/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile index 0cb844d106fe..e19bd1811734 100644 --- a/graphics/xpm/Makefile +++ b/graphics/xpm/Makefile @@ -3,7 +3,7 @@ # Date created: 14 September 1994 # Whom: jkh # -# $Id: Makefile,v 1.19 1998/10/04 20:45:48 jkh Exp $ +# $Id: Makefile,v 1.20 1998/10/05 04:03:38 jkh Exp $ # DISTNAME= xpm-3.4k @@ -16,10 +16,12 @@ USE_IMAKE= yes MAN1= cxpm.1 sxpm.1 +.include <bsd.port.pre.mk> + post-install: - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libXpm.so.4.11 ${PREFIX}/lib/libXpm.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> |