diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-23 17:36:51 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-23 17:36:51 +0800 |
commit | b028b113ef13fa7972bb45d681d7a0abe47c40a6 (patch) | |
tree | a76a27ca09341f754b493c264ee71c912a553d89 /editors/nano | |
parent | 855b1df39bc3a6f03abf878d9c99b5ba0838ba35 (diff) | |
download | freebsd-ports-gnome-b028b113ef13fa7972bb45d681d7a0abe47c40a6.tar.gz freebsd-ports-gnome-b028b113ef13fa7972bb45d681d7a0abe47c40a6.tar.zst freebsd-ports-gnome-b028b113ef13fa7972bb45d681d7a0abe47c40a6.zip |
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Diffstat (limited to 'editors/nano')
-rw-r--r-- | editors/nano/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 632a2b6603fe..5d03670cf991 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -15,8 +15,7 @@ MAINTAINER= naddy@FreeBSD.org COMMENT= Nano's ANOther editor, an enhanced free Pico clone GNU_CONFIGURE= yes -CONFIGURE_ARGS= --infodir=${PREFIX}/${INFO_PATH} --mandir=${PREFIX}/man \ - --enable-all +CONFIGURE_ARGS= --enable-all CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |